// Lean compiler output
// Module: Lean.Linter.MissingDocs
// Imports: Lean.Meta.Tactic.Simp.RegisterCommand Lean.Elab.Command Lean.Elab.SetOption Lean.Linter.Util
#include <lean/lean.h>
#if defined(__clang__)
#pragma clang diagnostic ignored "-Wunused-parameter"
#pragma clang diagnostic ignored "-Wunused-label"
#elif defined(__GNUC__) && !defined(__CLANG__)
#pragma GCC diagnostic ignored "-Wunused-parameter"
#pragma GCC diagnostic ignored "-Wunused-label"
#pragma GCC diagnostic ignored "-Wunused-but-set-variable"
#endif
#ifdef __cplusplus
extern "C" {
#endif
static lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__12;
static lean_object* l_Lean_Linter_MissingDocs_lintNamed___closed__1;
lean_object* l_Lean_Expr_const___override(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_374____lambda__6(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_checkDecl___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Linter_MissingDocs_missingDocs___closed__1;
static lean_object* l___regBuiltin_Lean_Linter_MissingDocs_checkNotation__1___closed__3;
lean_object* l_Lean_Elab_Command_withScope___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___regBuiltin_Lean_Linter_MissingDocs_checkDecl__1___closed__4;
LEAN_EXPORT lean_object* l_List_foldl___at_Lean_Linter_MissingDocs_checkDecl___spec__7___at_Lean_Linter_MissingDocs_checkDecl___spec__8(lean_object*, lean_object*);
static lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__2;
lean_object* l_instBEqOfDecidableEq___rarg(lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Linter_MissingDocs_declModifiersPubNoDoc___closed__3;
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_checkDecl___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__6;
static lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_374____closed__1;
static lean_object* l___regBuiltin_Lean_Linter_MissingDocs_checkElab__1___closed__2;
static lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__1;
static lean_object* l___regBuiltin_Lean_Linter_MissingDocs_checkDecl__1___closed__3;
lean_object* lean_mk_empty_array_with_capacity(lean_object*);
static lean_object* l_Lean_Linter_MissingDocs_checkNotation___closed__2;
size_t lean_usize_shift_right(size_t, size_t);
static lean_object* l___regBuiltin_Lean_Linter_MissingDocs_checkSimpLike__1___closed__2;
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_checkDecl(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__8___closed__1;
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_checkClassAbbrev(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Linter_MissingDocs_lintDeclHead___closed__4;
LEAN_EXPORT lean_object* l___regBuiltin_Lean_Linter_MissingDocs_checkSyntaxAbbrev__1(lean_object*);
static lean_object* l_Lean_Linter_MissingDocs_lintDeclHead___closed__18;
lean_object* l_Lean_logAt___at_Lean_Elab_Command_elabCommand___spec__4(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*);
static lean_object* l___regBuiltin_Lean_Linter_MissingDocs_checkSyntax__1___closed__3;
static lean_object* l___regBuiltin_Lean_Linter_MissingDocs_checkRegisterOption__1___closed__3;
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_checkRegisterOption___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_374____closed__9;
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_missingDocs___elambda__1(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Linter_MissingDocs_mkHandlerUnsafe___closed__1;
lean_object* l_Lean_ConstantInfo_type(lean_object*);
static lean_object* l_Array_anyMUnsafe_any___at_Lean_Linter_MissingDocs_hasInheritDoc___spec__1___closed__3;
static lean_object* l___regBuiltin_Lean_Linter_MissingDocs_checkRegisterSimpAttr__1___closed__2;
LEAN_EXPORT lean_object* l_IO_ofExcept___at_Lean_Linter_MissingDocs_mkHandlerUnsafe___spec__2(lean_object*, lean_object*);
lean_object* l_Lean_ConstantInfo_levelParams(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__4(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*);
static lean_object* l___regBuiltin_Lean_Linter_MissingDocs_checkRegisterSimpAttr__1___closed__1;
static lean_object* l_Lean_Linter_MissingDocs_checkRegisterSimpAttr___closed__1;
uint64_t lean_uint64_of_nat(lean_object*);
static lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_374____closed__3;
lean_object* l_Lean_mkAppB(lean_object*, lean_object*, lean_object*);
size_t lean_hashset_mk_idx(lean_object*, uint64_t);
static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_MissingDocs___hyg_8____closed__1;
static lean_object* l_Lean_Linter_MissingDocs_handleIn___rarg___closed__1;
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Name_toString(lean_object*, uint8_t);
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_checkSyntaxAbbrev(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_HashSetImp_contains___at_Lean_Linter_MissingDocs_checkDecl___spec__16___boxed(lean_object*, lean_object*);
lean_object* l_Lean_Syntax_getId(lean_object*);
static lean_object* l_Lean_Linter_MissingDocs_lintDeclHead___closed__6;
LEAN_EXPORT lean_object* l_IO_ofExcept___at_Lean_Linter_MissingDocs_mkHandlerUnsafe___spec__1(lean_object*, lean_object*);
static lean_object* l___regBuiltin_Lean_Linter_MissingDocs_checkSyntaxAbbrev__1___closed__3;
lean_object* l_Lean_mkHashSetImp___rarg(lean_object*);
static lean_object* l_Lean_Linter_MissingDocs_lintDeclHead___closed__10;
static lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__4___closed__2;
LEAN_EXPORT lean_object* l_Lean_HashSetImp_expand___at_Lean_Linter_MissingDocs_checkDecl___spec__5(lean_object*, lean_object*);
lean_object* lean_mk_array(lean_object*, lean_object*);
uint8_t lean_usize_dec_eq(size_t, size_t);
LEAN_EXPORT lean_object* l_Lean_Linter_logLint___at_Lean_Linter_MissingDocs_lint___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Syntax_getArgs(lean_object*);
static lean_object* l___regBuiltin_Lean_Linter_MissingDocs_checkClassAbbrev__1___closed__2;
static lean_object* l___private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlFromMAux___at_Lean_Linter_MissingDocs_checkDecl___spec__12___closed__1;
static lean_object* l_Lean_Linter_logLint___at_Lean_Linter_MissingDocs_lint___spec__1___closed__3;
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_addBuiltinHandler(lean_object*, lean_object*, lean_object*);
lean_object* lean_array_fget(lean_object*, lean_object*);
static lean_object* l___regBuiltin_Lean_Linter_MissingDocs_checkSyntax__1___closed__1;
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_checkClassAbbrev___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*);
static lean_object* l___regBuiltin_Lean_Linter_MissingDocs_checkSyntax__1___closed__2;
static lean_object* l___regBuiltin_Lean_Linter_MissingDocs_checkInit__1___closed__2;
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Linter_MissingDocs_missingDocs___closed__2;
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_mkSimpleHandler___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_checkSyntax(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__4;
static lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__1___closed__8;
lean_object* lean_environment_find(lean_object*, lean_object*);
static lean_object* l_Lean_Linter_logLint___at_Lean_Linter_MissingDocs_lint___spec__1___closed__2;
static lean_object* l___regBuiltin_Lean_Linter_MissingDocs_checkMacro__1___closed__2;
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___regBuiltin_Lean_Linter_MissingDocs_checkRegisterBuiltinOption__1___closed__5;
static lean_object* l___regBuiltin_Lean_Linter_MissingDocs_checkDecl__1___closed__2;
LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Linter_MissingDocs_hasInheritDoc___spec__1(lean_object*, size_t, size_t);
uint8_t l_Lean_Linter_getLinterValue(lean_object*, lean_object*);
lean_object* l_Lean_Elab_InfoTree_foldInfo___rarg(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Linter_MissingDocs_checkDecl___spec__17___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_374____lambda__6___boxed(lean_object*);
uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*);
lean_object* l_Lean_Name_mkStr5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Linter_MissingDocs_lintDeclHead___closed__9;
lean_object* l_Lean_stringToMessageData(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_374____lambda__3___boxed(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__5(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___regBuiltin_Lean_Linter_MissingDocs_checkInit__1(lean_object*);
LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Linter_MissingDocs_checkDecl___spec__18___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_missingDocsExt;
static lean_object* l_Lean_Linter_MissingDocs_lintDeclHead___closed__17;
static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_MissingDocs___hyg_8____closed__7;
lean_object* l_Lean_instInhabitedPersistentArrayNode(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__9(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlFromMAux___at_Lean_Linter_MissingDocs_checkDecl___spec__12(lean_object*, size_t, size_t, lean_object*);
lean_object* l_List_head_x21___rarg(lean_object*, lean_object*);
uint8_t lean_string_dec_eq(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Linter_MissingDocs_checkDecl___spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT uint8_t l_Lean_Linter_getLinterMissingDocs(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_checkSyntaxCat(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Linter_MissingDocs_checkDecl___lambda__1___closed__2;
static lean_object* l___regBuiltin_Lean_Linter_MissingDocs_checkElab__1___closed__3;
static lean_object* l___regBuiltin_Lean_Linter_MissingDocs_handleIn__1___closed__2;
static lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__1___closed__4;
lean_object* l_Lean_Option_register___at_Lean_Elab_initFn____x40_Lean_Elab_AutoBound___hyg_7____spec__1(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Linter_MissingDocs_lintDeclHead___closed__16;
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_mkHandlerUnsafe___elambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__18;
LEAN_EXPORT lean_object* l___regBuiltin_Lean_Linter_MissingDocs_checkSyntaxCat__1(lean_object*);
static lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__7;
static lean_object* l___regBuiltin_Lean_Linter_MissingDocs_handleMutual__1___closed__3;
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_checkSimpLike(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__14;
static lean_object* l___regBuiltin_Lean_Linter_MissingDocs_checkNotation__1___closed__1;
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_checkMacro___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_checkSimpLike___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___regBuiltin_Lean_Linter_MissingDocs_checkRegisterSimpAttr__1___closed__4;
static lean_object* l_Lean_Linter_MissingDocs_lintDeclHead___closed__8;
lean_object* l_Lean_Name_mkStr3(lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Linter_logLint___at_Lean_Linter_MissingDocs_lint___spec__1___closed__6;
static lean_object* l___regBuiltin_Lean_Linter_MissingDocs_checkInit__1___closed__1;
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_checkNotation(lean_object*, lean_object*, lean_object*, lean_object*);
size_t lean_usize_of_nat(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_checkElab___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_MissingDocs___hyg_8____closed__9;
LEAN_EXPORT lean_object* l_Lean_Linter_getLinterMissingDocs___boxed(lean_object*);
LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Linter_MissingDocs_checkDecl___spec__17(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___regBuiltin_Lean_Linter_MissingDocs_checkClassAbbrev__1(lean_object*);
static lean_object* l_Lean_Linter_MissingDocs_checkSyntax___closed__1;
static lean_object* l_Lean_Linter_MissingDocs_checkDecl___lambda__1___closed__1;
static lean_object* l___regBuiltin_Lean_Linter_MissingDocs_checkSyntaxAbbrev__1___closed__4;
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_checkInit(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__10;
LEAN_EXPORT lean_object* l___regBuiltin_Lean_Linter_MissingDocs_handleIn__1(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810_(lean_object*);
lean_object* lean_st_ref_take(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___regBuiltin_Lean_Linter_MissingDocs_handleMutual__1(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_hasInheritDoc___boxed(lean_object*);
uint8_t lean_nat_dec_eq(lean_object*, lean_object*);
static lean_object* l_Lean_Linter_MissingDocs_mkHandlerUnsafe___closed__6;
static lean_object* l_Array_anyMUnsafe_any___at_Lean_Linter_MissingDocs_hasInheritDoc___spec__1___closed__2;
static lean_object* l_Lean_Linter_MissingDocs_lintDeclHead___closed__20;
LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Linter_MissingDocs_checkDecl___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__5___closed__2;
uint8_t lean_expr_eqv(lean_object*, lean_object*);
lean_object* l_Lean_declareBuiltin(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___rarg(lean_object*, lean_object*);
static lean_object* l_Lean_Linter_MissingDocs_lintDeclHead___closed__2;
static lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__22;
static lean_object* l___regBuiltin_Lean_Linter_MissingDocs_checkClassAbbrev__1___closed__1;
static lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__1___closed__6;
lean_object* l_Lean_Syntax_getAtomVal(lean_object*);
static lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__2___closed__5;
static lean_object* l_Lean_Linter_MissingDocs_handleIn___rarg___closed__2;
LEAN_EXPORT lean_object* l_List_replace___at_Lean_Linter_MissingDocs_checkDecl___spec__9(lean_object*, lean_object*, lean_object*);
lean_object* l_instDecidableEqPos___boxed(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_checkRegisterOption(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___regBuiltin_Lean_Linter_MissingDocs_checkNotation__1(lean_object*);
lean_object* l_Lean_PersistentEnvExtension_addEntry___rarg(lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__5;
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_missingDocs;
lean_object* l_Lean_PersistentEnvExtension_getState___rarg(lean_object*, lean_object*, lean_object*);
lean_object* lean_eval_const(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT uint8_t l_Lean_HashSetImp_contains___at_Lean_Linter_MissingDocs_checkDecl___spec__16(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_374____spec__2(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Linter_MissingDocs_mkHandlerUnsafe___closed__7;
static lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__2___closed__1;
static lean_object* l_Lean_Linter_MissingDocs_checkInit___closed__1;
lean_object* l_Lean_Syntax_getKind(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_checkRegisterBuiltinOption___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_MessageData_ofFormat(lean_object*);
static lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_374____closed__8;
static lean_object* l___regBuiltin_Lean_Linter_MissingDocs_checkInit__1___closed__3;
LEAN_EXPORT lean_object* l___regBuiltin_Lean_Linter_MissingDocs_checkRegisterBuiltinOption__1(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_checkMixfix___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_setEnv___at_Lean_registerParametricAttribute___spec__3(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__13;
static lean_object* l_Array_forInUnsafe_loop___at_Lean_Linter_MissingDocs_checkDecl___spec__17___lambda__1___closed__1;
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_lintStructField(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___regBuiltin_Lean_Linter_MissingDocs_checkElab__1(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_handleIn___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_checkElab(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Linter_MissingDocs_checkRegisterBuiltinOption___closed__1;
lean_object* lean_st_ref_get(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_checkSyntax___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_throwError___at_Lean_registerTagAttribute___spec__1(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_MissingDocs___hyg_8____closed__2;
static lean_object* l_Lean_Linter_MissingDocs_lintDeclHead___closed__14;
lean_object* l_Lean_Attribute_Builtin_getIdent(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Array_forInUnsafe_loop___at_Lean_Linter_MissingDocs_checkDecl___spec__1___closed__1;
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_lintStructField___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
uint8_t l_List_isEmpty___rarg(lean_object*);
lean_object* lean_st_mk_ref(lean_object*, lean_object*);
static lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__2___closed__3;
lean_object* l_Lean_Name_num___override(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_handleIn___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_lintNamed___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__9;
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_lintNamed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__1___closed__2;
static lean_object* l___regBuiltin_Lean_Linter_MissingDocs_checkSyntaxCat__1___closed__2;
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Linter_MissingDocs_checkDecl___spec__14___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_MissingDocs___hyg_8____closed__4;
LEAN_EXPORT lean_object* l___regBuiltin_Lean_Linter_MissingDocs_checkSimpLike__1(lean_object*);
static lean_object* l_Lean_Linter_MissingDocs_checkSimpLike___closed__1;
lean_object* l_Lean_Elab_realizeGlobalConstNoOverloadWithInfo(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Array_anyMUnsafe_any___at_Lean_Linter_MissingDocs_hasInheritDoc___spec__1___closed__1;
LEAN_EXPORT lean_object* l_Lean_HashSetImp_moveEntries___at_Lean_Linter_MissingDocs_checkDecl___spec__6(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Linter_MissingDocs_checkDecl___spec__18(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_RBNode_insert___at_Lean_NameMap_insert___spec__1___rarg(lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_MissingDocs___hyg_8____closed__5;
static lean_object* l_Lean_Linter_MissingDocs_checkMacro___closed__1;
static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_MissingDocs___hyg_8____closed__8;
static lean_object* l___regBuiltin_Lean_Linter_MissingDocs_checkSimpLike__1___closed__4;
LEAN_EXPORT lean_object* l_Lean_HashSetImp_insert___at_Lean_Linter_MissingDocs_checkDecl___spec__3(lean_object*, lean_object*);
lean_object* l_Lean_Syntax_getSepArgs(lean_object*);
static lean_object* l_Array_anyMUnsafe_any___at_Lean_Linter_MissingDocs_hasInheritDoc___spec__1___closed__6;
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_checkSyntaxAbbrev___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Linter_MissingDocs_lintDeclHead___closed__11;
LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlMAux___at_Lean_Linter_MissingDocs_checkDecl___spec__13(lean_object*, lean_object*);
uint8_t lean_name_eq(lean_object*, lean_object*);
static lean_object* l___regBuiltin_Lean_Linter_MissingDocs_checkSyntaxCat__1___closed__1;
static lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__1___closed__5;
lean_object* l_Lean_Name_str___override(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Linter_linter_missingDocs;
static lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__1___closed__7;
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_778_(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_lintDeclHead(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_lint___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_mkSimpleHandler(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___regBuiltin_Lean_Linter_MissingDocs_checkRegisterOption__1___closed__2;
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*);
static lean_object* l_Lean_Linter_MissingDocs_mkHandlerUnsafe___closed__2;
static lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__17;
static lean_object* l_Lean_Linter_MissingDocs_lintDeclHead___closed__15;
static lean_object* l___regBuiltin_Lean_Linter_MissingDocs_checkRegisterBuiltinOption__1___closed__2;
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_getHandlers___boxed(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_lintField(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___regBuiltin_Lean_Linter_MissingDocs_checkSyntaxCat__1___closed__4;
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Linter_MissingDocs_handleMutual___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Linter_MissingDocs_mkHandlerUnsafe___closed__4;
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_checkRegisterSimpAttr___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_lint(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___regBuiltin_Lean_Linter_MissingDocs_handleIn__1___closed__3;
LEAN_EXPORT uint8_t l_Lean_Linter_MissingDocs_hasInheritDoc(lean_object*);
static lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__3;
static lean_object* l___regBuiltin_Lean_Linter_MissingDocs_checkSimpLike__1___closed__3;
LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Linter_MissingDocs_checkDecl___spec__17___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Array_anyMUnsafe_any___at_Lean_Linter_MissingDocs_hasInheritDoc___spec__1___closed__5;
static lean_object* l_Lean_Linter_MissingDocs_lintField___closed__1;
static lean_object* l___regBuiltin_Lean_Linter_MissingDocs_checkMixfix__1___closed__2;
static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_MissingDocs___hyg_8____closed__3;
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_checkDecl___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__24;
static lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__4___closed__4;
static lean_object* l___regBuiltin_Lean_Linter_MissingDocs_handleIn__1___closed__1;
lean_object* l_Lean_Elab_Command_addLinter(lean_object*, lean_object*);
lean_object* lean_usize_to_nat(size_t);
LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Linter_MissingDocs_hasInheritDoc___spec__1___boxed(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Linter_MissingDocs_checkDecl___spec__17___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_374____spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_handleMutual(uint8_t);
static lean_object* l_Lean_Linter_MissingDocs_missingDocs___closed__3;
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_handleMutual___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Linter_MissingDocs_lintDeclHead___closed__7;
static lean_object* l_Lean_Linter_MissingDocs_checkClassAbbrev___closed__1;
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_374____lambda__1(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_handleIn(uint8_t);
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_374____lambda__4(lean_object*, lean_object*);
static lean_object* l_Lean_Linter_MissingDocs_checkNotation___closed__3;
static lean_object* l_Lean_Linter_logLint___at_Lean_Linter_MissingDocs_lint___spec__1___closed__4;
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_checkNotation___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__2___closed__2;
static lean_object* l_Lean_Linter_MissingDocs_lintDeclHead___closed__12;
static lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_374____closed__6;
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_checkRegisterSimpAttr(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___regBuiltin_Lean_Linter_MissingDocs_checkRegisterSimpAttr__1___closed__3;
static lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__2___closed__4;
static lean_object* l___regBuiltin_Lean_Linter_MissingDocs_checkSyntaxAbbrev__1___closed__2;
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__23;
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_lintField___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Elab_elabSetOption___at_Lean_withSetOptionIn___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_throwError___at_Lean_AttributeImpl_erase___default___spec__1(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_374____lambda__1___closed__1;
static lean_object* l___regBuiltin_Lean_Linter_MissingDocs_handleMutual__1___closed__2;
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_374_(lean_object*);
static lean_object* l___regBuiltin_Lean_Linter_MissingDocs_checkSyntaxCat__1___closed__3;
LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlMAux___at_Lean_Linter_MissingDocs_checkDecl___spec__13___boxed(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_MissingDocs___hyg_8_(lean_object*);
LEAN_EXPORT lean_object* l___regBuiltin_Lean_Linter_MissingDocs_checkRegisterSimpAttr__1(lean_object*);
static lean_object* l___regBuiltin_Lean_Linter_MissingDocs_checkRegisterOption__1___closed__4;
static lean_object* l_Lean_Linter_logLint___at_Lean_Linter_MissingDocs_lint___spec__1___closed__5;
LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Linter_MissingDocs_checkDecl___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Expr_app___override(lean_object*, lean_object*);
static lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__1___closed__3;
LEAN_EXPORT lean_object* l_Lean_mkHashSet___at_Lean_Linter_MissingDocs_checkDecl___spec__10___boxed(lean_object*);
static lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__4___closed__1;
static lean_object* l_Array_forInUnsafe_loop___at_Lean_Linter_MissingDocs_checkDecl___spec__18___closed__2;
uint8_t lean_nat_dec_eq(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Linter_logLint___at_Lean_Linter_MissingDocs_lint___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___regBuiltin_Lean_Linter_MissingDocs_checkRegisterOption__1___closed__1;
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_checkMacro(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_mkHandlerUnsafe___elambda__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*);
uint8_t lean_nat_dec_lt(lean_object*, lean_object*);
static lean_object* l_Lean_Linter_MissingDocs_addHandler___closed__1;
lean_object* l_Lean_Name_mkStr2(lean_object*, lean_object*);
static lean_object* l___regBuiltin_Lean_Linter_MissingDocs_checkSimpLike__1___closed__1;
LEAN_EXPORT uint8_t l_Lean_Linter_MissingDocs_declModifiersPubNoDoc(lean_object*);
static lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_374____closed__10;
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_374____lambda__5(lean_object*);
lean_object* l_Lean_getConstInfo___at_Lean_registerInitAttrUnsafe___spec__1(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_handleMutual___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___regBuiltin_Lean_Linter_MissingDocs_handleMutual__1___closed__1;
static lean_object* l_Lean_Linter_logLint___at_Lean_Linter_MissingDocs_lint___spec__1___closed__1;
static lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__15;
static lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__21;
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Linter_MissingDocs_checkDecl___spec__15___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_getHandlers(lean_object*);
static lean_object* l___regBuiltin_Lean_Linter_MissingDocs_checkSimpLike__1___closed__5;
static lean_object* l_Lean_Linter_MissingDocs_declModifiersPubNoDoc___closed__1;
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_332_(lean_object*);
uint8_t l_Lean_Syntax_isNone(lean_object*);
static lean_object* l_Array_forInUnsafe_loop___at_Lean_Linter_MissingDocs_checkDecl___spec__2___closed__1;
static lean_object* l_Lean_Linter_MissingDocs_lint___closed__2;
lean_object* lean_nat_sub(lean_object*, lean_object*);
lean_object* lean_nat_mul(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_handleIn___rarg___lambda__1(lean_object*, lean_object*);
static lean_object* l_Lean_Linter_MissingDocs_lintDeclHead___closed__19;
lean_object* l_Lean_Syntax_getRange_x3f(lean_object*, uint8_t);
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Linter_MissingDocs_checkDecl___spec__15(lean_object*, size_t, size_t, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_lintDeclHead___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__8___closed__2;
static lean_object* l___regBuiltin_Lean_Linter_MissingDocs_checkClassAbbrev__1___closed__3;
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Linter_MissingDocs_checkDecl___spec__15___lambda__1(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_checkDecl___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_List_elem___at_Lean_Linter_MissingDocs_checkDecl___spec__4___boxed(lean_object*, lean_object*);
static lean_object* l___regBuiltin_Lean_Linter_MissingDocs_checkNotation__1___closed__2;
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Linter_MissingDocs_checkDecl___spec__15___lambda__1___boxed(lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Linter_MissingDocs_mkHandlerUnsafe___closed__5;
static lean_object* l_Lean_Linter_logLint___at_Lean_Linter_MissingDocs_lint___spec__1___closed__7;
LEAN_EXPORT lean_object* l_List_foldl___at_Lean_Linter_MissingDocs_checkDecl___spec__7(lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Environment_getModuleIdxFor_x3f(lean_object*, lean_object*);
lean_object* lean_erase_macro_scopes(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_mkHandlerUnsafe(lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_registerBuiltinAttribute(lean_object*, lean_object*);
static lean_object* l___regBuiltin_Lean_Linter_MissingDocs_checkRegisterBuiltinOption__1___closed__1;
lean_object* l_List_reverse___rarg(lean_object*);
static lean_object* l___regBuiltin_Lean_Linter_MissingDocs_checkDecl__1___closed__1;
static lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_374____lambda__6___closed__1;
uint8_t l___private_Lean_Attributes_0__Lean_beqAttributeKind____x40_Lean_Attributes___hyg_162_(uint8_t, uint8_t);
lean_object* l___private_Lean_ToExpr_0__Lean_Name_toExprAux(lean_object*);
size_t lean_usize_sub(size_t, size_t);
extern lean_object* l_Lean_Elab_Command_instInhabitedScope;
LEAN_EXPORT lean_object* l_Lean_mkHashSet___at_Lean_Linter_MissingDocs_checkDecl___spec__10(lean_object*);
static lean_object* l_Array_forInUnsafe_loop___at_Lean_Linter_MissingDocs_checkDecl___spec__18___closed__1;
static lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__8;
LEAN_EXPORT lean_object* l___regBuiltin_Lean_Linter_MissingDocs_checkDecl__1(lean_object*);
LEAN_EXPORT lean_object* l___regBuiltin_Lean_Linter_MissingDocs_checkMacro__1(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_374____lambda__3(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Linter_MissingDocs_checkDecl___spec__2(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*);
size_t lean_usize_add(size_t, size_t);
static lean_object* l_Lean_Linter_MissingDocs_mkHandlerUnsafe___closed__3;
static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_MissingDocs___hyg_8____closed__6;
static lean_object* l_Lean_Linter_MissingDocs_checkElab___closed__1;
static lean_object* l_Lean_Linter_getLinterMissingDocs___closed__1;
static lean_object* l_Lean_Linter_MissingDocs_checkNotation___closed__1;
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_checkSyntaxCat___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Linter_MissingDocs_lintDeclHead___closed__3;
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_addHandler(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___regBuiltin_Lean_Linter_MissingDocs_checkRegisterOption__1(lean_object*);
static lean_object* l_Lean_Linter_MissingDocs_checkNotation___closed__4;
static lean_object* l_Lean_Linter_MissingDocs_lintDeclHead___closed__1;
lean_object* lean_array_uget(lean_object*, size_t);
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_handleIn___boxed(lean_object*);
static lean_object* l___regBuiltin_Lean_Linter_MissingDocs_checkInit__1___closed__4;
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_handleMutual___boxed(lean_object*);
static lean_object* l___regBuiltin_Lean_Linter_MissingDocs_checkRegisterBuiltinOption__1___closed__4;
static lean_object* l___regBuiltin_Lean_Linter_MissingDocs_checkMacro__1___closed__3;
static lean_object* l_Array_forInUnsafe_loop___at_Lean_Linter_MissingDocs_checkDecl___spec__18___closed__3;
static lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__5___closed__1;
lean_object* lean_io_error_to_string(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Array_anyMUnsafe_any___at_Lean_Linter_MissingDocs_hasInheritDoc___spec__1___closed__4;
lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Linter_MissingDocs_checkSyntaxCat___closed__1;
size_t lean_usize_shift_left(size_t, size_t);
lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_List_redLength___rarg(lean_object*);
LEAN_EXPORT lean_object* l___regBuiltin_Lean_Linter_MissingDocs_checkSyntax__1(lean_object*);
static lean_object* l___regBuiltin_Lean_Linter_MissingDocs_checkClassAbbrev__1___closed__4;
static lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__4___closed__3;
static lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_374____closed__5;
static lean_object* l_Lean_Linter_MissingDocs_declModifiersPubNoDoc___closed__2;
static lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_374____closed__2;
lean_object* lean_string_append(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Linter_MissingDocs_lintDeclHead___closed__13;
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_374____spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__20;
lean_object* lean_array_get_size(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_checkDecl___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__16;
uint8_t lean_nat_dec_le(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___regBuiltin_Lean_Linter_MissingDocs_checkMixfix__1(lean_object*);
static lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__1___closed__1;
static lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__19;
uint8_t lean_usize_dec_lt(size_t, size_t);
lean_object* l_Lean_RBNode_find___at_Lean_NameMap_find_x3f___spec__1___rarg(lean_object*, lean_object*);
LEAN_EXPORT uint8_t l_List_elem___at_Lean_Linter_MissingDocs_checkDecl___spec__4(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Linter_MissingDocs_checkDecl___spec__14(lean_object*, size_t, size_t, lean_object*);
lean_object* lean_nat_add(lean_object*, lean_object*);
static lean_object* l___regBuiltin_Lean_Linter_MissingDocs_checkMixfix__1___closed__3;
lean_object* l_EStateM_bind___rarg(lean_object*, lean_object*, lean_object*);
static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Linter_MissingDocs_checkDecl___spec__15___closed__1;
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_declModifiersPubNoDoc___boxed(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_SimpleHandler_toHandler___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Linter_MissingDocs_lintDeclHead___closed__5;
static lean_object* l_Lean_Linter_MissingDocs_getHandlers___closed__1;
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_SimpleHandler_toHandler(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___regBuiltin_Lean_Linter_MissingDocs_checkMacro__1___closed__1;
static lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__11;
static lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_374____closed__4;
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Linter_MissingDocs_handleMutual___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___regBuiltin_Lean_Linter_MissingDocs_checkMixfix__1___closed__4;
lean_object* lean_array_uset(lean_object*, size_t, lean_object*);
LEAN_EXPORT lean_object* l_List_replace___at_Lean_Linter_MissingDocs_checkDecl___spec__9___boxed(lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_MessageData_ofName(lean_object*);
lean_object* lean_array_get(lean_object*, lean_object*, lean_object*);
lean_object* l___private_Init_Data_Repr_0__Nat_reprFast(lean_object*);
static lean_object* l___regBuiltin_Lean_Linter_MissingDocs_checkElab__1___closed__1;
static lean_object* l___regBuiltin_Lean_Linter_MissingDocs_checkRegisterBuiltinOption__1___closed__3;
static lean_object* l_Lean_Linter_MissingDocs_lint___closed__1;
LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlFromMAux___at_Lean_Linter_MissingDocs_checkDecl___spec__12___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___regBuiltin_Lean_Linter_MissingDocs_checkMixfix__1___closed__1;
static lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_374____lambda__6___closed__2;
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_374____lambda__2(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_checkMixfix(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_checkInit___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___regBuiltin_Lean_Linter_MissingDocs_checkSyntaxAbbrev__1___closed__1;
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_builtinHandlersRef;
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_checkRegisterBuiltinOption(lean_object*, lean_object*, lean_object*, lean_object*);
size_t lean_usize_land(size_t, size_t);
lean_object* l_List_toArrayAux___rarg(lean_object*, lean_object*);
static lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_374____closed__7;
lean_object* l_List_length___rarg(lean_object*);
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_374____spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_PersistentArray_foldlM___at_Lean_Linter_MissingDocs_checkDecl___spec__11(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_PersistentArray_foldlM___at_Lean_Linter_MissingDocs_checkDecl___spec__11___boxed(lean_object*, lean_object*, lean_object*);
static lean_object* _init_l_Lean_Linter_initFn____x40_Lean_Linter_MissingDocs___hyg_8____closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("linter", 6, 6);
return x_1;
}
}
static lean_object* _init_l_Lean_Linter_initFn____x40_Lean_Linter_MissingDocs___hyg_8____closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("missingDocs", 11, 11);
return x_1;
}
}
static lean_object* _init_l_Lean_Linter_initFn____x40_Lean_Linter_MissingDocs___hyg_8____closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Linter_initFn____x40_Lean_Linter_MissingDocs___hyg_8____closed__1;
x_2 = l_Lean_Linter_initFn____x40_Lean_Linter_MissingDocs___hyg_8____closed__2;
x_3 = l_Lean_Name_mkStr2(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Linter_initFn____x40_Lean_Linter_MissingDocs___hyg_8____closed__4() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("", 0, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_Linter_initFn____x40_Lean_Linter_MissingDocs___hyg_8____closed__5() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("enable the 'missing documentation' linter", 41, 41);
return x_1;
}
}
static lean_object* _init_l_Lean_Linter_initFn____x40_Lean_Linter_MissingDocs___hyg_8____closed__6() {
_start:
{
uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = 0;
x_2 = l_Lean_Linter_initFn____x40_Lean_Linter_MissingDocs___hyg_8____closed__4;
x_3 = l_Lean_Linter_initFn____x40_Lean_Linter_MissingDocs___hyg_8____closed__5;
x_4 = lean_box(x_1);
x_5 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_5, 0, x_4);
lean_ctor_set(x_5, 1, x_2);
lean_ctor_set(x_5, 2, x_3);
return x_5;
}
}
static lean_object* _init_l_Lean_Linter_initFn____x40_Lean_Linter_MissingDocs___hyg_8____closed__7() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("Lean", 4, 4);
return x_1;
}
}
static lean_object* _init_l_Lean_Linter_initFn____x40_Lean_Linter_MissingDocs___hyg_8____closed__8() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("Linter", 6, 6);
return x_1;
}
}
static lean_object* _init_l_Lean_Linter_initFn____x40_Lean_Linter_MissingDocs___hyg_8____closed__9() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l_Lean_Linter_initFn____x40_Lean_Linter_MissingDocs___hyg_8____closed__7;
x_2 = l_Lean_Linter_initFn____x40_Lean_Linter_MissingDocs___hyg_8____closed__8;
x_3 = l_Lean_Linter_initFn____x40_Lean_Linter_MissingDocs___hyg_8____closed__1;
x_4 = l_Lean_Linter_initFn____x40_Lean_Linter_MissingDocs___hyg_8____closed__2;
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
LEAN_EXPORT lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_MissingDocs___hyg_8_(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_2 = l_Lean_Linter_initFn____x40_Lean_Linter_MissingDocs___hyg_8____closed__3;
x_3 = l_Lean_Linter_initFn____x40_Lean_Linter_MissingDocs___hyg_8____closed__6;
x_4 = l_Lean_Linter_initFn____x40_Lean_Linter_MissingDocs___hyg_8____closed__9;
x_5 = l_Lean_Option_register___at_Lean_Elab_initFn____x40_Lean_Elab_AutoBound___hyg_7____spec__1(x_2, x_3, x_4, x_1);
return x_5;
}
}
static lean_object* _init_l_Lean_Linter_getLinterMissingDocs___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_Linter_linter_missingDocs;
return x_1;
}
}
LEAN_EXPORT uint8_t l_Lean_Linter_getLinterMissingDocs(lean_object* x_1) {
_start:
{
lean_object* x_2; uint8_t x_3; 
x_2 = l_Lean_Linter_getLinterMissingDocs___closed__1;
x_3 = l_Lean_Linter_getLinterValue(x_2, x_1);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_Linter_getLinterMissingDocs___boxed(lean_object* x_1) {
_start:
{
uint8_t x_2; lean_object* x_3; 
x_2 = l_Lean_Linter_getLinterMissingDocs(x_1);
lean_dec(x_1);
x_3 = lean_box(x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_SimpleHandler_toHandler(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
if (x_2 == 0)
{
lean_object* x_7; lean_object* x_8; 
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_1);
x_7 = lean_box(0);
x_8 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_8, 0, x_7);
lean_ctor_set(x_8, 1, x_6);
return x_8;
}
else
{
lean_object* x_9; 
x_9 = lean_apply_4(x_1, x_3, x_4, x_5, x_6);
return x_9;
}
}
}
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_SimpleHandler_toHandler___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
uint8_t x_7; lean_object* x_8; 
x_7 = lean_unbox(x_2);
lean_dec(x_2);
x_8 = l_Lean_Linter_MissingDocs_SimpleHandler_toHandler(x_1, x_7, x_3, x_4, x_5, x_6);
return x_8;
}
}
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_mkHandlerUnsafe___elambda__1(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
lean_object* x_7; 
x_7 = l_Lean_Linter_MissingDocs_SimpleHandler_toHandler(x_1, x_2, x_3, x_4, x_5, x_6);
return x_7;
}
}
LEAN_EXPORT lean_object* l_IO_ofExcept___at_Lean_Linter_MissingDocs_mkHandlerUnsafe___spec__1(lean_object* x_1, lean_object* x_2) {
_start:
{
if (lean_obj_tag(x_1) == 0)
{
uint8_t x_3; 
x_3 = !lean_is_exclusive(x_1);
if (x_3 == 0)
{
lean_object* x_4; 
lean_ctor_set_tag(x_1, 18);
x_4 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_4, 0, x_1);
lean_ctor_set(x_4, 1, x_2);
return x_4;
}
else
{
lean_object* x_5; lean_object* x_6; lean_object* x_7; 
x_5 = lean_ctor_get(x_1, 0);
lean_inc(x_5);
lean_dec(x_1);
x_6 = lean_alloc_ctor(18, 1, 0);
lean_ctor_set(x_6, 0, x_5);
x_7 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_7, 0, x_6);
lean_ctor_set(x_7, 1, x_2);
return x_7;
}
}
else
{
lean_object* x_8; lean_object* x_9; 
x_8 = lean_ctor_get(x_1, 0);
lean_inc(x_8);
lean_dec(x_1);
x_9 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_9, 0, x_8);
lean_ctor_set(x_9, 1, x_2);
return x_9;
}
}
}
LEAN_EXPORT lean_object* l_IO_ofExcept___at_Lean_Linter_MissingDocs_mkHandlerUnsafe___spec__2(lean_object* x_1, lean_object* x_2) {
_start:
{
if (lean_obj_tag(x_1) == 0)
{
uint8_t x_3; 
x_3 = !lean_is_exclusive(x_1);
if (x_3 == 0)
{
lean_object* x_4; 
lean_ctor_set_tag(x_1, 18);
x_4 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_4, 0, x_1);
lean_ctor_set(x_4, 1, x_2);
return x_4;
}
else
{
lean_object* x_5; lean_object* x_6; lean_object* x_7; 
x_5 = lean_ctor_get(x_1, 0);
lean_inc(x_5);
lean_dec(x_1);
x_6 = lean_alloc_ctor(18, 1, 0);
lean_ctor_set(x_6, 0, x_5);
x_7 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_7, 0, x_6);
lean_ctor_set(x_7, 1, x_2);
return x_7;
}
}
else
{
lean_object* x_8; lean_object* x_9; 
x_8 = lean_ctor_get(x_1, 0);
lean_inc(x_8);
lean_dec(x_1);
x_9 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_9, 0, x_8);
lean_ctor_set(x_9, 1, x_2);
return x_9;
}
}
}
static lean_object* _init_l_Lean_Linter_MissingDocs_mkHandlerUnsafe___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("unknown constant '", 18, 18);
return x_1;
}
}
static lean_object* _init_l_Lean_Linter_MissingDocs_mkHandlerUnsafe___closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("'", 1, 1);
return x_1;
}
}
static lean_object* _init_l_Lean_Linter_MissingDocs_mkHandlerUnsafe___closed__3() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("unexpected missing docs handler at '", 36, 36);
return x_1;
}
}
static lean_object* _init_l_Lean_Linter_MissingDocs_mkHandlerUnsafe___closed__4() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("', `MissingDocs.Handler` or `MissingDocs.SimpleHandler` expected", 64, 64);
return x_1;
}
}
static lean_object* _init_l_Lean_Linter_MissingDocs_mkHandlerUnsafe___closed__5() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("MissingDocs", 11, 11);
return x_1;
}
}
static lean_object* _init_l_Lean_Linter_MissingDocs_mkHandlerUnsafe___closed__6() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("SimpleHandler", 13, 13);
return x_1;
}
}
static lean_object* _init_l_Lean_Linter_MissingDocs_mkHandlerUnsafe___closed__7() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("Handler", 7, 7);
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_mkHandlerUnsafe(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; lean_object* x_5; lean_object* x_6; 
x_4 = lean_ctor_get(x_2, 0);
lean_inc(x_4);
x_5 = lean_ctor_get(x_2, 1);
lean_inc(x_5);
lean_dec(x_2);
lean_inc(x_1);
lean_inc(x_4);
x_6 = lean_environment_find(x_4, x_1);
if (lean_obj_tag(x_6) == 0)
{
uint8_t x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; 
lean_dec(x_5);
lean_dec(x_4);
x_7 = 1;
x_8 = l_Lean_Name_toString(x_1, x_7);
x_9 = l_Lean_Linter_MissingDocs_mkHandlerUnsafe___closed__1;
x_10 = lean_string_append(x_9, x_8);
lean_dec(x_8);
x_11 = l_Lean_Linter_MissingDocs_mkHandlerUnsafe___closed__2;
x_12 = lean_string_append(x_10, x_11);
x_13 = lean_alloc_ctor(18, 1, 0);
lean_ctor_set(x_13, 0, x_12);
x_14 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_14, 0, x_13);
lean_ctor_set(x_14, 1, x_3);
return x_14;
}
else
{
uint8_t x_15; 
x_15 = !lean_is_exclusive(x_6);
if (x_15 == 0)
{
lean_object* x_16; lean_object* x_17; 
x_16 = lean_ctor_get(x_6, 0);
x_17 = l_Lean_ConstantInfo_type(x_16);
lean_dec(x_16);
if (lean_obj_tag(x_17) == 4)
{
lean_object* x_18; 
x_18 = lean_ctor_get(x_17, 0);
lean_inc(x_18);
lean_dec(x_17);
if (lean_obj_tag(x_18) == 1)
{
lean_object* x_19; 
x_19 = lean_ctor_get(x_18, 0);
lean_inc(x_19);
if (lean_obj_tag(x_19) == 1)
{
lean_object* x_20; 
x_20 = lean_ctor_get(x_19, 0);
lean_inc(x_20);
if (lean_obj_tag(x_20) == 1)
{
lean_object* x_21; 
x_21 = lean_ctor_get(x_20, 0);
lean_inc(x_21);
if (lean_obj_tag(x_21) == 1)
{
lean_object* x_22; 
x_22 = lean_ctor_get(x_21, 0);
lean_inc(x_22);
if (lean_obj_tag(x_22) == 0)
{
lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; 
x_23 = lean_ctor_get(x_18, 1);
lean_inc(x_23);
lean_dec(x_18);
x_24 = lean_ctor_get(x_19, 1);
lean_inc(x_24);
lean_dec(x_19);
x_25 = lean_ctor_get(x_20, 1);
lean_inc(x_25);
lean_dec(x_20);
x_26 = lean_ctor_get(x_21, 1);
lean_inc(x_26);
lean_dec(x_21);
x_27 = l_Lean_Linter_initFn____x40_Lean_Linter_MissingDocs___hyg_8____closed__7;
x_28 = lean_string_dec_eq(x_26, x_27);
lean_dec(x_26);
if (x_28 == 0)
{
uint8_t x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; 
lean_dec(x_25);
lean_dec(x_24);
lean_dec(x_23);
lean_dec(x_5);
lean_dec(x_4);
x_29 = 1;
x_30 = l_Lean_Name_toString(x_1, x_29);
x_31 = l_Lean_Linter_MissingDocs_mkHandlerUnsafe___closed__3;
x_32 = lean_string_append(x_31, x_30);
lean_dec(x_30);
x_33 = l_Lean_Linter_MissingDocs_mkHandlerUnsafe___closed__4;
x_34 = lean_string_append(x_32, x_33);
lean_ctor_set_tag(x_6, 18);
lean_ctor_set(x_6, 0, x_34);
x_35 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_35, 0, x_6);
lean_ctor_set(x_35, 1, x_3);
return x_35;
}
else
{
lean_object* x_36; uint8_t x_37; 
x_36 = l_Lean_Linter_initFn____x40_Lean_Linter_MissingDocs___hyg_8____closed__8;
x_37 = lean_string_dec_eq(x_25, x_36);
lean_dec(x_25);
if (x_37 == 0)
{
uint8_t x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; 
lean_dec(x_24);
lean_dec(x_23);
lean_dec(x_5);
lean_dec(x_4);
x_38 = 1;
x_39 = l_Lean_Name_toString(x_1, x_38);
x_40 = l_Lean_Linter_MissingDocs_mkHandlerUnsafe___closed__3;
x_41 = lean_string_append(x_40, x_39);
lean_dec(x_39);
x_42 = l_Lean_Linter_MissingDocs_mkHandlerUnsafe___closed__4;
x_43 = lean_string_append(x_41, x_42);
lean_ctor_set_tag(x_6, 18);
lean_ctor_set(x_6, 0, x_43);
x_44 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_44, 0, x_6);
lean_ctor_set(x_44, 1, x_3);
return x_44;
}
else
{
lean_object* x_45; uint8_t x_46; 
x_45 = l_Lean_Linter_MissingDocs_mkHandlerUnsafe___closed__5;
x_46 = lean_string_dec_eq(x_24, x_45);
lean_dec(x_24);
if (x_46 == 0)
{
uint8_t x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; 
lean_dec(x_23);
lean_dec(x_5);
lean_dec(x_4);
x_47 = 1;
x_48 = l_Lean_Name_toString(x_1, x_47);
x_49 = l_Lean_Linter_MissingDocs_mkHandlerUnsafe___closed__3;
x_50 = lean_string_append(x_49, x_48);
lean_dec(x_48);
x_51 = l_Lean_Linter_MissingDocs_mkHandlerUnsafe___closed__4;
x_52 = lean_string_append(x_50, x_51);
lean_ctor_set_tag(x_6, 18);
lean_ctor_set(x_6, 0, x_52);
x_53 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_53, 0, x_6);
lean_ctor_set(x_53, 1, x_3);
return x_53;
}
else
{
lean_object* x_54; uint8_t x_55; 
x_54 = l_Lean_Linter_MissingDocs_mkHandlerUnsafe___closed__6;
x_55 = lean_string_dec_eq(x_23, x_54);
if (x_55 == 0)
{
lean_object* x_56; uint8_t x_57; 
x_56 = l_Lean_Linter_MissingDocs_mkHandlerUnsafe___closed__7;
x_57 = lean_string_dec_eq(x_23, x_56);
lean_dec(x_23);
if (x_57 == 0)
{
uint8_t x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; 
lean_dec(x_5);
lean_dec(x_4);
x_58 = 1;
x_59 = l_Lean_Name_toString(x_1, x_58);
x_60 = l_Lean_Linter_MissingDocs_mkHandlerUnsafe___closed__3;
x_61 = lean_string_append(x_60, x_59);
lean_dec(x_59);
x_62 = l_Lean_Linter_MissingDocs_mkHandlerUnsafe___closed__4;
x_63 = lean_string_append(x_61, x_62);
lean_ctor_set_tag(x_6, 18);
lean_ctor_set(x_6, 0, x_63);
x_64 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_64, 0, x_6);
lean_ctor_set(x_64, 1, x_3);
return x_64;
}
else
{
lean_object* x_65; lean_object* x_66; 
lean_free_object(x_6);
x_65 = lean_eval_const(x_4, x_5, x_1);
lean_dec(x_1);
lean_dec(x_5);
lean_dec(x_4);
x_66 = l_IO_ofExcept___at_Lean_Linter_MissingDocs_mkHandlerUnsafe___spec__1(x_65, x_3);
return x_66;
}
}
else
{
lean_object* x_67; lean_object* x_68; 
lean_dec(x_23);
lean_free_object(x_6);
x_67 = lean_eval_const(x_4, x_5, x_1);
lean_dec(x_1);
lean_dec(x_5);
lean_dec(x_4);
x_68 = l_IO_ofExcept___at_Lean_Linter_MissingDocs_mkHandlerUnsafe___spec__2(x_67, x_3);
if (lean_obj_tag(x_68) == 0)
{
uint8_t x_69; 
x_69 = !lean_is_exclusive(x_68);
if (x_69 == 0)
{
lean_object* x_70; lean_object* x_71; 
x_70 = lean_ctor_get(x_68, 0);
x_71 = lean_alloc_closure((void*)(l_Lean_Linter_MissingDocs_mkHandlerUnsafe___elambda__1___boxed), 6, 1);
lean_closure_set(x_71, 0, x_70);
lean_ctor_set(x_68, 0, x_71);
return x_68;
}
else
{
lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; 
x_72 = lean_ctor_get(x_68, 0);
x_73 = lean_ctor_get(x_68, 1);
lean_inc(x_73);
lean_inc(x_72);
lean_dec(x_68);
x_74 = lean_alloc_closure((void*)(l_Lean_Linter_MissingDocs_mkHandlerUnsafe___elambda__1___boxed), 6, 1);
lean_closure_set(x_74, 0, x_72);
x_75 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_75, 0, x_74);
lean_ctor_set(x_75, 1, x_73);
return x_75;
}
}
else
{
uint8_t x_76; 
x_76 = !lean_is_exclusive(x_68);
if (x_76 == 0)
{
return x_68;
}
else
{
lean_object* x_77; lean_object* x_78; lean_object* x_79; 
x_77 = lean_ctor_get(x_68, 0);
x_78 = lean_ctor_get(x_68, 1);
lean_inc(x_78);
lean_inc(x_77);
lean_dec(x_68);
x_79 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_79, 0, x_77);
lean_ctor_set(x_79, 1, x_78);
return x_79;
}
}
}
}
}
}
}
else
{
uint8_t x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; 
lean_dec(x_22);
lean_dec(x_21);
lean_dec(x_20);
lean_dec(x_19);
lean_dec(x_18);
lean_dec(x_5);
lean_dec(x_4);
x_80 = 1;
x_81 = l_Lean_Name_toString(x_1, x_80);
x_82 = l_Lean_Linter_MissingDocs_mkHandlerUnsafe___closed__3;
x_83 = lean_string_append(x_82, x_81);
lean_dec(x_81);
x_84 = l_Lean_Linter_MissingDocs_mkHandlerUnsafe___closed__4;
x_85 = lean_string_append(x_83, x_84);
lean_ctor_set_tag(x_6, 18);
lean_ctor_set(x_6, 0, x_85);
x_86 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_86, 0, x_6);
lean_ctor_set(x_86, 1, x_3);
return x_86;
}
}
else
{
uint8_t x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; 
lean_dec(x_21);
lean_dec(x_20);
lean_dec(x_19);
lean_dec(x_18);
lean_dec(x_5);
lean_dec(x_4);
x_87 = 1;
x_88 = l_Lean_Name_toString(x_1, x_87);
x_89 = l_Lean_Linter_MissingDocs_mkHandlerUnsafe___closed__3;
x_90 = lean_string_append(x_89, x_88);
lean_dec(x_88);
x_91 = l_Lean_Linter_MissingDocs_mkHandlerUnsafe___closed__4;
x_92 = lean_string_append(x_90, x_91);
lean_ctor_set_tag(x_6, 18);
lean_ctor_set(x_6, 0, x_92);
x_93 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_93, 0, x_6);
lean_ctor_set(x_93, 1, x_3);
return x_93;
}
}
else
{
uint8_t x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; 
lean_dec(x_20);
lean_dec(x_19);
lean_dec(x_18);
lean_dec(x_5);
lean_dec(x_4);
x_94 = 1;
x_95 = l_Lean_Name_toString(x_1, x_94);
x_96 = l_Lean_Linter_MissingDocs_mkHandlerUnsafe___closed__3;
x_97 = lean_string_append(x_96, x_95);
lean_dec(x_95);
x_98 = l_Lean_Linter_MissingDocs_mkHandlerUnsafe___closed__4;
x_99 = lean_string_append(x_97, x_98);
lean_ctor_set_tag(x_6, 18);
lean_ctor_set(x_6, 0, x_99);
x_100 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_100, 0, x_6);
lean_ctor_set(x_100, 1, x_3);
return x_100;
}
}
else
{
uint8_t x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; 
lean_dec(x_19);
lean_dec(x_18);
lean_dec(x_5);
lean_dec(x_4);
x_101 = 1;
x_102 = l_Lean_Name_toString(x_1, x_101);
x_103 = l_Lean_Linter_MissingDocs_mkHandlerUnsafe___closed__3;
x_104 = lean_string_append(x_103, x_102);
lean_dec(x_102);
x_105 = l_Lean_Linter_MissingDocs_mkHandlerUnsafe___closed__4;
x_106 = lean_string_append(x_104, x_105);
lean_ctor_set_tag(x_6, 18);
lean_ctor_set(x_6, 0, x_106);
x_107 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_107, 0, x_6);
lean_ctor_set(x_107, 1, x_3);
return x_107;
}
}
else
{
uint8_t x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; 
lean_dec(x_18);
lean_dec(x_5);
lean_dec(x_4);
x_108 = 1;
x_109 = l_Lean_Name_toString(x_1, x_108);
x_110 = l_Lean_Linter_MissingDocs_mkHandlerUnsafe___closed__3;
x_111 = lean_string_append(x_110, x_109);
lean_dec(x_109);
x_112 = l_Lean_Linter_MissingDocs_mkHandlerUnsafe___closed__4;
x_113 = lean_string_append(x_111, x_112);
lean_ctor_set_tag(x_6, 18);
lean_ctor_set(x_6, 0, x_113);
x_114 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_114, 0, x_6);
lean_ctor_set(x_114, 1, x_3);
return x_114;
}
}
else
{
uint8_t x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; 
lean_dec(x_17);
lean_dec(x_5);
lean_dec(x_4);
x_115 = 1;
x_116 = l_Lean_Name_toString(x_1, x_115);
x_117 = l_Lean_Linter_MissingDocs_mkHandlerUnsafe___closed__3;
x_118 = lean_string_append(x_117, x_116);
lean_dec(x_116);
x_119 = l_Lean_Linter_MissingDocs_mkHandlerUnsafe___closed__4;
x_120 = lean_string_append(x_118, x_119);
lean_ctor_set_tag(x_6, 18);
lean_ctor_set(x_6, 0, x_120);
x_121 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_121, 0, x_6);
lean_ctor_set(x_121, 1, x_3);
return x_121;
}
}
else
{
lean_object* x_122; lean_object* x_123; 
x_122 = lean_ctor_get(x_6, 0);
lean_inc(x_122);
lean_dec(x_6);
x_123 = l_Lean_ConstantInfo_type(x_122);
lean_dec(x_122);
if (lean_obj_tag(x_123) == 4)
{
lean_object* x_124; 
x_124 = lean_ctor_get(x_123, 0);
lean_inc(x_124);
lean_dec(x_123);
if (lean_obj_tag(x_124) == 1)
{
lean_object* x_125; 
x_125 = lean_ctor_get(x_124, 0);
lean_inc(x_125);
if (lean_obj_tag(x_125) == 1)
{
lean_object* x_126; 
x_126 = lean_ctor_get(x_125, 0);
lean_inc(x_126);
if (lean_obj_tag(x_126) == 1)
{
lean_object* x_127; 
x_127 = lean_ctor_get(x_126, 0);
lean_inc(x_127);
if (lean_obj_tag(x_127) == 1)
{
lean_object* x_128; 
x_128 = lean_ctor_get(x_127, 0);
lean_inc(x_128);
if (lean_obj_tag(x_128) == 0)
{
lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; uint8_t x_134; 
x_129 = lean_ctor_get(x_124, 1);
lean_inc(x_129);
lean_dec(x_124);
x_130 = lean_ctor_get(x_125, 1);
lean_inc(x_130);
lean_dec(x_125);
x_131 = lean_ctor_get(x_126, 1);
lean_inc(x_131);
lean_dec(x_126);
x_132 = lean_ctor_get(x_127, 1);
lean_inc(x_132);
lean_dec(x_127);
x_133 = l_Lean_Linter_initFn____x40_Lean_Linter_MissingDocs___hyg_8____closed__7;
x_134 = lean_string_dec_eq(x_132, x_133);
lean_dec(x_132);
if (x_134 == 0)
{
uint8_t x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; 
lean_dec(x_131);
lean_dec(x_130);
lean_dec(x_129);
lean_dec(x_5);
lean_dec(x_4);
x_135 = 1;
x_136 = l_Lean_Name_toString(x_1, x_135);
x_137 = l_Lean_Linter_MissingDocs_mkHandlerUnsafe___closed__3;
x_138 = lean_string_append(x_137, x_136);
lean_dec(x_136);
x_139 = l_Lean_Linter_MissingDocs_mkHandlerUnsafe___closed__4;
x_140 = lean_string_append(x_138, x_139);
x_141 = lean_alloc_ctor(18, 1, 0);
lean_ctor_set(x_141, 0, x_140);
x_142 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_142, 0, x_141);
lean_ctor_set(x_142, 1, x_3);
return x_142;
}
else
{
lean_object* x_143; uint8_t x_144; 
x_143 = l_Lean_Linter_initFn____x40_Lean_Linter_MissingDocs___hyg_8____closed__8;
x_144 = lean_string_dec_eq(x_131, x_143);
lean_dec(x_131);
if (x_144 == 0)
{
uint8_t x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; 
lean_dec(x_130);
lean_dec(x_129);
lean_dec(x_5);
lean_dec(x_4);
x_145 = 1;
x_146 = l_Lean_Name_toString(x_1, x_145);
x_147 = l_Lean_Linter_MissingDocs_mkHandlerUnsafe___closed__3;
x_148 = lean_string_append(x_147, x_146);
lean_dec(x_146);
x_149 = l_Lean_Linter_MissingDocs_mkHandlerUnsafe___closed__4;
x_150 = lean_string_append(x_148, x_149);
x_151 = lean_alloc_ctor(18, 1, 0);
lean_ctor_set(x_151, 0, x_150);
x_152 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_152, 0, x_151);
lean_ctor_set(x_152, 1, x_3);
return x_152;
}
else
{
lean_object* x_153; uint8_t x_154; 
x_153 = l_Lean_Linter_MissingDocs_mkHandlerUnsafe___closed__5;
x_154 = lean_string_dec_eq(x_130, x_153);
lean_dec(x_130);
if (x_154 == 0)
{
uint8_t x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; 
lean_dec(x_129);
lean_dec(x_5);
lean_dec(x_4);
x_155 = 1;
x_156 = l_Lean_Name_toString(x_1, x_155);
x_157 = l_Lean_Linter_MissingDocs_mkHandlerUnsafe___closed__3;
x_158 = lean_string_append(x_157, x_156);
lean_dec(x_156);
x_159 = l_Lean_Linter_MissingDocs_mkHandlerUnsafe___closed__4;
x_160 = lean_string_append(x_158, x_159);
x_161 = lean_alloc_ctor(18, 1, 0);
lean_ctor_set(x_161, 0, x_160);
x_162 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_162, 0, x_161);
lean_ctor_set(x_162, 1, x_3);
return x_162;
}
else
{
lean_object* x_163; uint8_t x_164; 
x_163 = l_Lean_Linter_MissingDocs_mkHandlerUnsafe___closed__6;
x_164 = lean_string_dec_eq(x_129, x_163);
if (x_164 == 0)
{
lean_object* x_165; uint8_t x_166; 
x_165 = l_Lean_Linter_MissingDocs_mkHandlerUnsafe___closed__7;
x_166 = lean_string_dec_eq(x_129, x_165);
lean_dec(x_129);
if (x_166 == 0)
{
uint8_t x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; 
lean_dec(x_5);
lean_dec(x_4);
x_167 = 1;
x_168 = l_Lean_Name_toString(x_1, x_167);
x_169 = l_Lean_Linter_MissingDocs_mkHandlerUnsafe___closed__3;
x_170 = lean_string_append(x_169, x_168);
lean_dec(x_168);
x_171 = l_Lean_Linter_MissingDocs_mkHandlerUnsafe___closed__4;
x_172 = lean_string_append(x_170, x_171);
x_173 = lean_alloc_ctor(18, 1, 0);
lean_ctor_set(x_173, 0, x_172);
x_174 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_174, 0, x_173);
lean_ctor_set(x_174, 1, x_3);
return x_174;
}
else
{
lean_object* x_175; lean_object* x_176; 
x_175 = lean_eval_const(x_4, x_5, x_1);
lean_dec(x_1);
lean_dec(x_5);
lean_dec(x_4);
x_176 = l_IO_ofExcept___at_Lean_Linter_MissingDocs_mkHandlerUnsafe___spec__1(x_175, x_3);
return x_176;
}
}
else
{
lean_object* x_177; lean_object* x_178; 
lean_dec(x_129);
x_177 = lean_eval_const(x_4, x_5, x_1);
lean_dec(x_1);
lean_dec(x_5);
lean_dec(x_4);
x_178 = l_IO_ofExcept___at_Lean_Linter_MissingDocs_mkHandlerUnsafe___spec__2(x_177, x_3);
if (lean_obj_tag(x_178) == 0)
{
lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; 
x_179 = lean_ctor_get(x_178, 0);
lean_inc(x_179);
x_180 = lean_ctor_get(x_178, 1);
lean_inc(x_180);
if (lean_is_exclusive(x_178)) {
 lean_ctor_release(x_178, 0);
 lean_ctor_release(x_178, 1);
 x_181 = x_178;
} else {
 lean_dec_ref(x_178);
 x_181 = lean_box(0);
}
x_182 = lean_alloc_closure((void*)(l_Lean_Linter_MissingDocs_mkHandlerUnsafe___elambda__1___boxed), 6, 1);
lean_closure_set(x_182, 0, x_179);
if (lean_is_scalar(x_181)) {
 x_183 = lean_alloc_ctor(0, 2, 0);
} else {
 x_183 = x_181;
}
lean_ctor_set(x_183, 0, x_182);
lean_ctor_set(x_183, 1, x_180);
return x_183;
}
else
{
lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; 
x_184 = lean_ctor_get(x_178, 0);
lean_inc(x_184);
x_185 = lean_ctor_get(x_178, 1);
lean_inc(x_185);
if (lean_is_exclusive(x_178)) {
 lean_ctor_release(x_178, 0);
 lean_ctor_release(x_178, 1);
 x_186 = x_178;
} else {
 lean_dec_ref(x_178);
 x_186 = lean_box(0);
}
if (lean_is_scalar(x_186)) {
 x_187 = lean_alloc_ctor(1, 2, 0);
} else {
 x_187 = x_186;
}
lean_ctor_set(x_187, 0, x_184);
lean_ctor_set(x_187, 1, x_185);
return x_187;
}
}
}
}
}
}
else
{
uint8_t x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; 
lean_dec(x_128);
lean_dec(x_127);
lean_dec(x_126);
lean_dec(x_125);
lean_dec(x_124);
lean_dec(x_5);
lean_dec(x_4);
x_188 = 1;
x_189 = l_Lean_Name_toString(x_1, x_188);
x_190 = l_Lean_Linter_MissingDocs_mkHandlerUnsafe___closed__3;
x_191 = lean_string_append(x_190, x_189);
lean_dec(x_189);
x_192 = l_Lean_Linter_MissingDocs_mkHandlerUnsafe___closed__4;
x_193 = lean_string_append(x_191, x_192);
x_194 = lean_alloc_ctor(18, 1, 0);
lean_ctor_set(x_194, 0, x_193);
x_195 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_195, 0, x_194);
lean_ctor_set(x_195, 1, x_3);
return x_195;
}
}
else
{
uint8_t x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; 
lean_dec(x_127);
lean_dec(x_126);
lean_dec(x_125);
lean_dec(x_124);
lean_dec(x_5);
lean_dec(x_4);
x_196 = 1;
x_197 = l_Lean_Name_toString(x_1, x_196);
x_198 = l_Lean_Linter_MissingDocs_mkHandlerUnsafe___closed__3;
x_199 = lean_string_append(x_198, x_197);
lean_dec(x_197);
x_200 = l_Lean_Linter_MissingDocs_mkHandlerUnsafe___closed__4;
x_201 = lean_string_append(x_199, x_200);
x_202 = lean_alloc_ctor(18, 1, 0);
lean_ctor_set(x_202, 0, x_201);
x_203 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_203, 0, x_202);
lean_ctor_set(x_203, 1, x_3);
return x_203;
}
}
else
{
uint8_t x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; 
lean_dec(x_126);
lean_dec(x_125);
lean_dec(x_124);
lean_dec(x_5);
lean_dec(x_4);
x_204 = 1;
x_205 = l_Lean_Name_toString(x_1, x_204);
x_206 = l_Lean_Linter_MissingDocs_mkHandlerUnsafe___closed__3;
x_207 = lean_string_append(x_206, x_205);
lean_dec(x_205);
x_208 = l_Lean_Linter_MissingDocs_mkHandlerUnsafe___closed__4;
x_209 = lean_string_append(x_207, x_208);
x_210 = lean_alloc_ctor(18, 1, 0);
lean_ctor_set(x_210, 0, x_209);
x_211 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_211, 0, x_210);
lean_ctor_set(x_211, 1, x_3);
return x_211;
}
}
else
{
uint8_t x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; 
lean_dec(x_125);
lean_dec(x_124);
lean_dec(x_5);
lean_dec(x_4);
x_212 = 1;
x_213 = l_Lean_Name_toString(x_1, x_212);
x_214 = l_Lean_Linter_MissingDocs_mkHandlerUnsafe___closed__3;
x_215 = lean_string_append(x_214, x_213);
lean_dec(x_213);
x_216 = l_Lean_Linter_MissingDocs_mkHandlerUnsafe___closed__4;
x_217 = lean_string_append(x_215, x_216);
x_218 = lean_alloc_ctor(18, 1, 0);
lean_ctor_set(x_218, 0, x_217);
x_219 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_219, 0, x_218);
lean_ctor_set(x_219, 1, x_3);
return x_219;
}
}
else
{
uint8_t x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; 
lean_dec(x_124);
lean_dec(x_5);
lean_dec(x_4);
x_220 = 1;
x_221 = l_Lean_Name_toString(x_1, x_220);
x_222 = l_Lean_Linter_MissingDocs_mkHandlerUnsafe___closed__3;
x_223 = lean_string_append(x_222, x_221);
lean_dec(x_221);
x_224 = l_Lean_Linter_MissingDocs_mkHandlerUnsafe___closed__4;
x_225 = lean_string_append(x_223, x_224);
x_226 = lean_alloc_ctor(18, 1, 0);
lean_ctor_set(x_226, 0, x_225);
x_227 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_227, 0, x_226);
lean_ctor_set(x_227, 1, x_3);
return x_227;
}
}
else
{
uint8_t x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; 
lean_dec(x_123);
lean_dec(x_5);
lean_dec(x_4);
x_228 = 1;
x_229 = l_Lean_Name_toString(x_1, x_228);
x_230 = l_Lean_Linter_MissingDocs_mkHandlerUnsafe___closed__3;
x_231 = lean_string_append(x_230, x_229);
lean_dec(x_229);
x_232 = l_Lean_Linter_MissingDocs_mkHandlerUnsafe___closed__4;
x_233 = lean_string_append(x_231, x_232);
x_234 = lean_alloc_ctor(18, 1, 0);
lean_ctor_set(x_234, 0, x_233);
x_235 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_235, 0, x_234);
lean_ctor_set(x_235, 1, x_3);
return x_235;
}
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_mkHandlerUnsafe___elambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
uint8_t x_7; lean_object* x_8; 
x_7 = lean_unbox(x_2);
lean_dec(x_2);
x_8 = l_Lean_Linter_MissingDocs_mkHandlerUnsafe___elambda__1(x_1, x_7, x_3, x_4, x_5, x_6);
return x_8;
}
}
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_332_(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; uint8_t x_4; 
x_2 = lean_box(0);
x_3 = lean_st_mk_ref(x_2, x_1);
x_4 = !lean_is_exclusive(x_3);
if (x_4 == 0)
{
return x_3;
}
else
{
lean_object* x_5; lean_object* x_6; lean_object* x_7; 
x_5 = lean_ctor_get(x_3, 0);
x_6 = lean_ctor_get(x_3, 1);
lean_inc(x_6);
lean_inc(x_5);
lean_dec(x_3);
x_7 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_7, 0, x_5);
lean_ctor_set(x_7, 1, x_6);
return x_7;
}
}
}
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_374____spec__1(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
uint8_t x_7; 
x_7 = lean_usize_dec_eq(x_2, x_3);
if (x_7 == 0)
{
lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; 
x_8 = lean_array_uget(x_1, x_2);
x_9 = lean_ctor_get(x_8, 0);
lean_inc(x_9);
x_10 = lean_ctor_get(x_8, 1);
lean_inc(x_10);
lean_dec(x_8);
lean_inc(x_5);
x_11 = l_Lean_Linter_MissingDocs_mkHandlerUnsafe(x_9, x_5, x_6);
if (lean_obj_tag(x_11) == 0)
{
lean_object* x_12; lean_object* x_13; lean_object* x_14; size_t x_15; size_t x_16; 
x_12 = lean_ctor_get(x_11, 0);
lean_inc(x_12);
x_13 = lean_ctor_get(x_11, 1);
lean_inc(x_13);
lean_dec(x_11);
x_14 = l_Lean_RBNode_insert___at_Lean_NameMap_insert___spec__1___rarg(x_4, x_10, x_12);
x_15 = 1;
x_16 = lean_usize_add(x_2, x_15);
x_2 = x_16;
x_4 = x_14;
x_6 = x_13;
goto _start;
}
else
{
uint8_t x_18; 
lean_dec(x_10);
lean_dec(x_5);
lean_dec(x_4);
x_18 = !lean_is_exclusive(x_11);
if (x_18 == 0)
{
return x_11;
}
else
{
lean_object* x_19; lean_object* x_20; lean_object* x_21; 
x_19 = lean_ctor_get(x_11, 0);
x_20 = lean_ctor_get(x_11, 1);
lean_inc(x_20);
lean_inc(x_19);
lean_dec(x_11);
x_21 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_21, 0, x_19);
lean_ctor_set(x_21, 1, x_20);
return x_21;
}
}
}
else
{
lean_object* x_22; 
lean_dec(x_5);
x_22 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_22, 0, x_4);
lean_ctor_set(x_22, 1, x_6);
return x_22;
}
}
}
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_374____spec__2(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
uint8_t x_7; 
x_7 = lean_usize_dec_eq(x_2, x_3);
if (x_7 == 0)
{
lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; 
x_8 = lean_array_uget(x_1, x_2);
x_9 = lean_array_get_size(x_8);
x_10 = lean_unsigned_to_nat(0u);
x_11 = lean_nat_dec_lt(x_10, x_9);
if (x_11 == 0)
{
size_t x_12; size_t x_13; 
lean_dec(x_9);
lean_dec(x_8);
x_12 = 1;
x_13 = lean_usize_add(x_2, x_12);
x_2 = x_13;
goto _start;
}
else
{
uint8_t x_15; 
x_15 = lean_nat_dec_le(x_9, x_9);
if (x_15 == 0)
{
size_t x_16; size_t x_17; 
lean_dec(x_9);
lean_dec(x_8);
x_16 = 1;
x_17 = lean_usize_add(x_2, x_16);
x_2 = x_17;
goto _start;
}
else
{
size_t x_19; size_t x_20; lean_object* x_21; 
x_19 = 0;
x_20 = lean_usize_of_nat(x_9);
lean_dec(x_9);
lean_inc(x_5);
x_21 = l_Array_foldlMUnsafe_fold___at_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_374____spec__1(x_8, x_19, x_20, x_4, x_5, x_6);
lean_dec(x_8);
if (lean_obj_tag(x_21) == 0)
{
lean_object* x_22; lean_object* x_23; size_t x_24; size_t x_25; 
x_22 = lean_ctor_get(x_21, 0);
lean_inc(x_22);
x_23 = lean_ctor_get(x_21, 1);
lean_inc(x_23);
lean_dec(x_21);
x_24 = 1;
x_25 = lean_usize_add(x_2, x_24);
x_2 = x_25;
x_4 = x_22;
x_6 = x_23;
goto _start;
}
else
{
uint8_t x_27; 
lean_dec(x_5);
x_27 = !lean_is_exclusive(x_21);
if (x_27 == 0)
{
return x_21;
}
else
{
lean_object* x_28; lean_object* x_29; lean_object* x_30; 
x_28 = lean_ctor_get(x_21, 0);
x_29 = lean_ctor_get(x_21, 1);
lean_inc(x_29);
lean_inc(x_28);
lean_dec(x_21);
x_30 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_30, 0, x_28);
lean_ctor_set(x_30, 1, x_29);
return x_30;
}
}
}
}
}
else
{
lean_object* x_31; 
lean_dec(x_5);
x_31 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_31, 0, x_4);
lean_ctor_set(x_31, 1, x_6);
return x_31;
}
}
}
static lean_object* _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_374____lambda__1___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_Linter_MissingDocs_builtinHandlersRef;
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_374____lambda__1(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; uint8_t x_4; 
x_2 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_374____lambda__1___closed__1;
x_3 = lean_st_ref_get(x_2, x_1);
x_4 = !lean_is_exclusive(x_3);
if (x_4 == 0)
{
return x_3;
}
else
{
lean_object* x_5; lean_object* x_6; lean_object* x_7; 
x_5 = lean_ctor_get(x_3, 0);
x_6 = lean_ctor_get(x_3, 1);
lean_inc(x_6);
lean_inc(x_5);
lean_dec(x_3);
x_7 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_7, 0, x_5);
lean_ctor_set(x_7, 1, x_6);
return x_7;
}
}
}
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_374____lambda__2(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_3 = lean_box(0);
x_4 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_4, 0, x_3);
lean_ctor_set(x_4, 1, x_1);
x_5 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_5, 0, x_4);
lean_ctor_set(x_5, 1, x_2);
return x_5;
}
}
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_374____lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; lean_object* x_5; uint8_t x_6; 
x_4 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_374____lambda__1___closed__1;
x_5 = lean_st_ref_get(x_4, x_3);
x_6 = !lean_is_exclusive(x_5);
if (x_6 == 0)
{
lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; 
x_7 = lean_ctor_get(x_5, 0);
x_8 = lean_ctor_get(x_5, 1);
x_9 = lean_array_get_size(x_1);
x_10 = lean_unsigned_to_nat(0u);
x_11 = lean_nat_dec_lt(x_10, x_9);
if (x_11 == 0)
{
lean_object* x_12; lean_object* x_13; 
lean_dec(x_9);
lean_dec(x_2);
x_12 = lean_box(0);
x_13 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_13, 0, x_12);
lean_ctor_set(x_13, 1, x_7);
lean_ctor_set(x_5, 0, x_13);
return x_5;
}
else
{
uint8_t x_14; 
x_14 = lean_nat_dec_le(x_9, x_9);
if (x_14 == 0)
{
lean_object* x_15; lean_object* x_16; 
lean_dec(x_9);
lean_dec(x_2);
x_15 = lean_box(0);
x_16 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_16, 0, x_15);
lean_ctor_set(x_16, 1, x_7);
lean_ctor_set(x_5, 0, x_16);
return x_5;
}
else
{
size_t x_17; size_t x_18; lean_object* x_19; 
lean_free_object(x_5);
x_17 = 0;
x_18 = lean_usize_of_nat(x_9);
lean_dec(x_9);
x_19 = l_Array_foldlMUnsafe_fold___at_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_374____spec__2(x_1, x_17, x_18, x_7, x_2, x_8);
if (lean_obj_tag(x_19) == 0)
{
uint8_t x_20; 
x_20 = !lean_is_exclusive(x_19);
if (x_20 == 0)
{
lean_object* x_21; lean_object* x_22; lean_object* x_23; 
x_21 = lean_ctor_get(x_19, 0);
x_22 = lean_box(0);
x_23 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_23, 0, x_22);
lean_ctor_set(x_23, 1, x_21);
lean_ctor_set(x_19, 0, x_23);
return x_19;
}
else
{
lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; 
x_24 = lean_ctor_get(x_19, 0);
x_25 = lean_ctor_get(x_19, 1);
lean_inc(x_25);
lean_inc(x_24);
lean_dec(x_19);
x_26 = lean_box(0);
x_27 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_27, 0, x_26);
lean_ctor_set(x_27, 1, x_24);
x_28 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_28, 0, x_27);
lean_ctor_set(x_28, 1, x_25);
return x_28;
}
}
else
{
uint8_t x_29; 
x_29 = !lean_is_exclusive(x_19);
if (x_29 == 0)
{
return x_19;
}
else
{
lean_object* x_30; lean_object* x_31; lean_object* x_32; 
x_30 = lean_ctor_get(x_19, 0);
x_31 = lean_ctor_get(x_19, 1);
lean_inc(x_31);
lean_inc(x_30);
lean_dec(x_19);
x_32 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_32, 0, x_30);
lean_ctor_set(x_32, 1, x_31);
return x_32;
}
}
}
}
}
else
{
lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; 
x_33 = lean_ctor_get(x_5, 0);
x_34 = lean_ctor_get(x_5, 1);
lean_inc(x_34);
lean_inc(x_33);
lean_dec(x_5);
x_35 = lean_array_get_size(x_1);
x_36 = lean_unsigned_to_nat(0u);
x_37 = lean_nat_dec_lt(x_36, x_35);
if (x_37 == 0)
{
lean_object* x_38; lean_object* x_39; lean_object* x_40; 
lean_dec(x_35);
lean_dec(x_2);
x_38 = lean_box(0);
x_39 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_39, 0, x_38);
lean_ctor_set(x_39, 1, x_33);
x_40 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_40, 0, x_39);
lean_ctor_set(x_40, 1, x_34);
return x_40;
}
else
{
uint8_t x_41; 
x_41 = lean_nat_dec_le(x_35, x_35);
if (x_41 == 0)
{
lean_object* x_42; lean_object* x_43; lean_object* x_44; 
lean_dec(x_35);
lean_dec(x_2);
x_42 = lean_box(0);
x_43 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_43, 0, x_42);
lean_ctor_set(x_43, 1, x_33);
x_44 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_44, 0, x_43);
lean_ctor_set(x_44, 1, x_34);
return x_44;
}
else
{
size_t x_45; size_t x_46; lean_object* x_47; 
x_45 = 0;
x_46 = lean_usize_of_nat(x_35);
lean_dec(x_35);
x_47 = l_Array_foldlMUnsafe_fold___at_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_374____spec__2(x_1, x_45, x_46, x_33, x_2, x_34);
if (lean_obj_tag(x_47) == 0)
{
lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; 
x_48 = lean_ctor_get(x_47, 0);
lean_inc(x_48);
x_49 = lean_ctor_get(x_47, 1);
lean_inc(x_49);
if (lean_is_exclusive(x_47)) {
 lean_ctor_release(x_47, 0);
 lean_ctor_release(x_47, 1);
 x_50 = x_47;
} else {
 lean_dec_ref(x_47);
 x_50 = lean_box(0);
}
x_51 = lean_box(0);
x_52 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_52, 0, x_51);
lean_ctor_set(x_52, 1, x_48);
if (lean_is_scalar(x_50)) {
 x_53 = lean_alloc_ctor(0, 2, 0);
} else {
 x_53 = x_50;
}
lean_ctor_set(x_53, 0, x_52);
lean_ctor_set(x_53, 1, x_49);
return x_53;
}
else
{
lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; 
x_54 = lean_ctor_get(x_47, 0);
lean_inc(x_54);
x_55 = lean_ctor_get(x_47, 1);
lean_inc(x_55);
if (lean_is_exclusive(x_47)) {
 lean_ctor_release(x_47, 0);
 lean_ctor_release(x_47, 1);
 x_56 = x_47;
} else {
 lean_dec_ref(x_47);
 x_56 = lean_box(0);
}
if (lean_is_scalar(x_56)) {
 x_57 = lean_alloc_ctor(1, 2, 0);
} else {
 x_57 = x_56;
}
lean_ctor_set(x_57, 0, x_54);
lean_ctor_set(x_57, 1, x_55);
return x_57;
}
}
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_374____lambda__4(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; uint8_t x_4; 
x_3 = lean_ctor_get(x_2, 1);
lean_inc(x_3);
x_4 = !lean_is_exclusive(x_1);
if (x_4 == 0)
{
uint8_t x_5; 
x_5 = !lean_is_exclusive(x_2);
if (x_5 == 0)
{
lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; 
x_6 = lean_ctor_get(x_1, 0);
x_7 = lean_ctor_get(x_1, 1);
x_8 = lean_ctor_get(x_2, 0);
x_9 = lean_ctor_get(x_2, 1);
lean_dec(x_9);
x_10 = !lean_is_exclusive(x_3);
if (x_10 == 0)
{
lean_object* x_11; lean_object* x_12; lean_object* x_13; 
x_11 = lean_ctor_get(x_3, 0);
x_12 = lean_ctor_get(x_3, 1);
lean_inc(x_11);
lean_ctor_set(x_3, 1, x_11);
lean_ctor_set(x_3, 0, x_8);
lean_ctor_set_tag(x_1, 1);
lean_ctor_set(x_1, 1, x_6);
lean_ctor_set(x_1, 0, x_3);
x_13 = l_Lean_RBNode_insert___at_Lean_NameMap_insert___spec__1___rarg(x_7, x_11, x_12);
lean_ctor_set(x_2, 1, x_13);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
else
{
lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; 
x_14 = lean_ctor_get(x_3, 0);
x_15 = lean_ctor_get(x_3, 1);
lean_inc(x_15);
lean_inc(x_14);
lean_dec(x_3);
lean_inc(x_14);
x_16 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_16, 0, x_8);
lean_ctor_set(x_16, 1, x_14);
lean_ctor_set_tag(x_1, 1);
lean_ctor_set(x_1, 1, x_6);
lean_ctor_set(x_1, 0, x_16);
x_17 = l_Lean_RBNode_insert___at_Lean_NameMap_insert___spec__1___rarg(x_7, x_14, x_15);
lean_ctor_set(x_2, 1, x_17);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
else
{
lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; 
x_18 = lean_ctor_get(x_1, 0);
x_19 = lean_ctor_get(x_1, 1);
x_20 = lean_ctor_get(x_2, 0);
lean_inc(x_20);
lean_dec(x_2);
x_21 = lean_ctor_get(x_3, 0);
lean_inc(x_21);
x_22 = lean_ctor_get(x_3, 1);
lean_inc(x_22);
if (lean_is_exclusive(x_3)) {
 lean_ctor_release(x_3, 0);
 lean_ctor_release(x_3, 1);
 x_23 = x_3;
} else {
 lean_dec_ref(x_3);
 x_23 = lean_box(0);
}
lean_inc(x_21);
if (lean_is_scalar(x_23)) {
 x_24 = lean_alloc_ctor(0, 2, 0);
} else {
 x_24 = x_23;
}
lean_ctor_set(x_24, 0, x_20);
lean_ctor_set(x_24, 1, x_21);
lean_ctor_set_tag(x_1, 1);
lean_ctor_set(x_1, 1, x_18);
lean_ctor_set(x_1, 0, x_24);
x_25 = l_Lean_RBNode_insert___at_Lean_NameMap_insert___spec__1___rarg(x_19, x_21, x_22);
x_26 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_26, 0, x_1);
lean_ctor_set(x_26, 1, x_25);
return x_26;
}
}
else
{
lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; 
x_27 = lean_ctor_get(x_1, 0);
x_28 = lean_ctor_get(x_1, 1);
lean_inc(x_28);
lean_inc(x_27);
lean_dec(x_1);
x_29 = lean_ctor_get(x_2, 0);
lean_inc(x_29);
if (lean_is_exclusive(x_2)) {
 lean_ctor_release(x_2, 0);
 lean_ctor_release(x_2, 1);
 x_30 = x_2;
} else {
 lean_dec_ref(x_2);
 x_30 = lean_box(0);
}
x_31 = lean_ctor_get(x_3, 0);
lean_inc(x_31);
x_32 = lean_ctor_get(x_3, 1);
lean_inc(x_32);
if (lean_is_exclusive(x_3)) {
 lean_ctor_release(x_3, 0);
 lean_ctor_release(x_3, 1);
 x_33 = x_3;
} else {
 lean_dec_ref(x_3);
 x_33 = lean_box(0);
}
lean_inc(x_31);
if (lean_is_scalar(x_33)) {
 x_34 = lean_alloc_ctor(0, 2, 0);
} else {
 x_34 = x_33;
}
lean_ctor_set(x_34, 0, x_29);
lean_ctor_set(x_34, 1, x_31);
x_35 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_35, 0, x_34);
lean_ctor_set(x_35, 1, x_27);
x_36 = l_Lean_RBNode_insert___at_Lean_NameMap_insert___spec__1___rarg(x_28, x_31, x_32);
if (lean_is_scalar(x_30)) {
 x_37 = lean_alloc_ctor(0, 2, 0);
} else {
 x_37 = x_30;
}
lean_ctor_set(x_37, 0, x_35);
lean_ctor_set(x_37, 1, x_36);
return x_37;
}
}
}
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_374____lambda__5(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; 
x_2 = lean_ctor_get(x_1, 0);
lean_inc(x_2);
lean_dec(x_1);
x_3 = l_List_reverse___rarg(x_2);
x_4 = l_List_redLength___rarg(x_3);
x_5 = lean_mk_empty_array_with_capacity(x_4);
lean_dec(x_4);
x_6 = l_List_toArrayAux___rarg(x_3, x_5);
return x_6;
}
}
static lean_object* _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_374____lambda__6___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("number of local entries: ", 25, 25);
return x_1;
}
}
static lean_object* _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_374____lambda__6___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_374____lambda__6___closed__1;
x_2 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_374____lambda__6(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; 
x_2 = lean_ctor_get(x_1, 0);
x_3 = l_List_length___rarg(x_2);
x_4 = l___private_Init_Data_Repr_0__Nat_reprFast(x_3);
x_5 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_5, 0, x_4);
x_6 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_374____lambda__6___closed__2;
x_7 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_7, 0, x_6);
lean_ctor_set(x_7, 1, x_5);
return x_7;
}
}
static lean_object* _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_374____closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("missingDocsExt", 14, 14);
return x_1;
}
}
static lean_object* _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_374____closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l_Lean_Linter_initFn____x40_Lean_Linter_MissingDocs___hyg_8____closed__7;
x_2 = l_Lean_Linter_initFn____x40_Lean_Linter_MissingDocs___hyg_8____closed__8;
x_3 = l_Lean_Linter_MissingDocs_mkHandlerUnsafe___closed__5;
x_4 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_374____closed__1;
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
static lean_object* _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_374____closed__3() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_374____lambda__1), 1, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_374____closed__4() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_374____lambda__2), 2, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_374____closed__5() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_374____closed__3;
x_2 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_374____closed__4;
x_3 = lean_alloc_closure((void*)(l_EStateM_bind___rarg), 3, 2);
lean_closure_set(x_3, 0, x_1);
lean_closure_set(x_3, 1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_374____closed__6() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_374____lambda__3___boxed), 3, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_374____closed__7() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_374____lambda__4), 2, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_374____closed__8() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_374____lambda__5), 1, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_374____closed__9() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_374____lambda__6___boxed), 1, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_374____closed__10() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; 
x_1 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_374____closed__2;
x_2 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_374____closed__5;
x_3 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_374____closed__6;
x_4 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_374____closed__7;
x_5 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_374____closed__8;
x_6 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_374____closed__9;
x_7 = lean_alloc_ctor(0, 6, 0);
lean_ctor_set(x_7, 0, x_1);
lean_ctor_set(x_7, 1, x_2);
lean_ctor_set(x_7, 2, x_3);
lean_ctor_set(x_7, 3, x_4);
lean_ctor_set(x_7, 4, x_5);
lean_ctor_set(x_7, 5, x_6);
return x_7;
}
}
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_374_(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; 
x_2 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_374____closed__10;
x_3 = l_Lean_registerPersistentEnvExtensionUnsafe___rarg(x_2, x_1);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_374____spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
size_t x_7; size_t x_8; lean_object* x_9; 
x_7 = lean_unbox_usize(x_2);
lean_dec(x_2);
x_8 = lean_unbox_usize(x_3);
lean_dec(x_3);
x_9 = l_Array_foldlMUnsafe_fold___at_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_374____spec__1(x_1, x_7, x_8, x_4, x_5, x_6);
lean_dec(x_1);
return x_9;
}
}
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_374____spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
size_t x_7; size_t x_8; lean_object* x_9; 
x_7 = lean_unbox_usize(x_2);
lean_dec(x_2);
x_8 = lean_unbox_usize(x_3);
lean_dec(x_3);
x_9 = l_Array_foldlMUnsafe_fold___at_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_374____spec__2(x_1, x_7, x_8, x_4, x_5, x_6);
lean_dec(x_1);
return x_9;
}
}
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_374____lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; 
x_4 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_374____lambda__3(x_1, x_2, x_3);
lean_dec(x_1);
return x_4;
}
}
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_374____lambda__6___boxed(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_374____lambda__6(x_1);
lean_dec(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Linter_MissingDocs_addHandler___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_Linter_MissingDocs_missingDocsExt;
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_addHandler(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; 
x_5 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_5, 0, x_3);
lean_ctor_set(x_5, 1, x_4);
x_6 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_6, 0, x_2);
lean_ctor_set(x_6, 1, x_5);
x_7 = l_Lean_Linter_MissingDocs_addHandler___closed__1;
x_8 = l_Lean_PersistentEnvExtension_addEntry___rarg(x_7, x_1, x_6);
return x_8;
}
}
static lean_object* _init_l_Lean_Linter_MissingDocs_getHandlers___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = lean_box(0);
x_3 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_3, 0, x_1);
lean_ctor_set(x_3, 1, x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_getHandlers(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_2 = l_Lean_Linter_MissingDocs_getHandlers___closed__1;
x_3 = l_Lean_Linter_MissingDocs_addHandler___closed__1;
x_4 = l_Lean_PersistentEnvExtension_getState___rarg(x_2, x_3, x_1);
x_5 = lean_ctor_get(x_4, 1);
lean_inc(x_5);
lean_dec(x_4);
return x_5;
}
}
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_getHandlers___boxed(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = l_Lean_Linter_MissingDocs_getHandlers(x_1);
lean_dec(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_missingDocs___elambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; uint8_t x_6; 
x_5 = lean_st_ref_get(x_3, x_4);
x_6 = !lean_is_exclusive(x_5);
if (x_6 == 0)
{
lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; 
x_7 = lean_ctor_get(x_5, 0);
x_8 = lean_ctor_get(x_5, 1);
x_9 = lean_ctor_get(x_7, 0);
lean_inc(x_9);
lean_dec(x_7);
x_10 = l_Lean_Linter_MissingDocs_getHandlers(x_9);
lean_dec(x_9);
lean_inc(x_1);
x_11 = l_Lean_Syntax_getKind(x_1);
x_12 = l_Lean_RBNode_find___at_Lean_NameMap_find_x3f___spec__1___rarg(x_10, x_11);
lean_dec(x_11);
lean_dec(x_10);
if (lean_obj_tag(x_12) == 0)
{
lean_object* x_13; 
lean_dec(x_3);
lean_dec(x_2);
lean_dec(x_1);
x_13 = lean_box(0);
lean_ctor_set(x_5, 0, x_13);
return x_5;
}
else
{
lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; lean_object* x_24; lean_object* x_25; 
lean_free_object(x_5);
x_14 = lean_ctor_get(x_12, 0);
lean_inc(x_14);
lean_dec(x_12);
x_15 = lean_st_ref_get(x_3, x_8);
x_16 = lean_ctor_get(x_15, 0);
lean_inc(x_16);
x_17 = lean_ctor_get(x_15, 1);
lean_inc(x_17);
lean_dec(x_15);
x_18 = lean_ctor_get(x_16, 2);
lean_inc(x_18);
lean_dec(x_16);
x_19 = l_Lean_Elab_Command_instInhabitedScope;
x_20 = l_List_head_x21___rarg(x_19, x_18);
lean_dec(x_18);
x_21 = lean_ctor_get(x_20, 1);
lean_inc(x_21);
lean_dec(x_20);
x_22 = l_Lean_Linter_getLinterMissingDocs___closed__1;
x_23 = l_Lean_Linter_getLinterValue(x_22, x_21);
lean_dec(x_21);
x_24 = lean_box(x_23);
x_25 = lean_apply_5(x_14, x_24, x_1, x_2, x_3, x_17);
return x_25;
}
}
else
{
lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; 
x_26 = lean_ctor_get(x_5, 0);
x_27 = lean_ctor_get(x_5, 1);
lean_inc(x_27);
lean_inc(x_26);
lean_dec(x_5);
x_28 = lean_ctor_get(x_26, 0);
lean_inc(x_28);
lean_dec(x_26);
x_29 = l_Lean_Linter_MissingDocs_getHandlers(x_28);
lean_dec(x_28);
lean_inc(x_1);
x_30 = l_Lean_Syntax_getKind(x_1);
x_31 = l_Lean_RBNode_find___at_Lean_NameMap_find_x3f___spec__1___rarg(x_29, x_30);
lean_dec(x_30);
lean_dec(x_29);
if (lean_obj_tag(x_31) == 0)
{
lean_object* x_32; lean_object* x_33; 
lean_dec(x_3);
lean_dec(x_2);
lean_dec(x_1);
x_32 = lean_box(0);
x_33 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_33, 0, x_32);
lean_ctor_set(x_33, 1, x_27);
return x_33;
}
else
{
lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; uint8_t x_43; lean_object* x_44; lean_object* x_45; 
x_34 = lean_ctor_get(x_31, 0);
lean_inc(x_34);
lean_dec(x_31);
x_35 = lean_st_ref_get(x_3, x_27);
x_36 = lean_ctor_get(x_35, 0);
lean_inc(x_36);
x_37 = lean_ctor_get(x_35, 1);
lean_inc(x_37);
lean_dec(x_35);
x_38 = lean_ctor_get(x_36, 2);
lean_inc(x_38);
lean_dec(x_36);
x_39 = l_Lean_Elab_Command_instInhabitedScope;
x_40 = l_List_head_x21___rarg(x_39, x_38);
lean_dec(x_38);
x_41 = lean_ctor_get(x_40, 1);
lean_inc(x_41);
lean_dec(x_40);
x_42 = l_Lean_Linter_getLinterMissingDocs___closed__1;
x_43 = l_Lean_Linter_getLinterValue(x_42, x_41);
lean_dec(x_41);
x_44 = lean_box(x_43);
x_45 = lean_apply_5(x_34, x_44, x_1, x_2, x_3, x_37);
return x_45;
}
}
}
}
static lean_object* _init_l_Lean_Linter_MissingDocs_missingDocs___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l_Lean_Linter_initFn____x40_Lean_Linter_MissingDocs___hyg_8____closed__7;
x_2 = l_Lean_Linter_initFn____x40_Lean_Linter_MissingDocs___hyg_8____closed__8;
x_3 = l_Lean_Linter_MissingDocs_mkHandlerUnsafe___closed__5;
x_4 = l_Lean_Linter_initFn____x40_Lean_Linter_MissingDocs___hyg_8____closed__2;
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
static lean_object* _init_l_Lean_Linter_MissingDocs_missingDocs___closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_Linter_MissingDocs_missingDocs___elambda__1), 4, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_Linter_MissingDocs_missingDocs___closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Linter_MissingDocs_missingDocs___closed__2;
x_2 = l_Lean_Linter_MissingDocs_missingDocs___closed__1;
x_3 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_3, 0, x_1);
lean_ctor_set(x_3, 1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Linter_MissingDocs_missingDocs() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_Linter_MissingDocs_missingDocs___closed__3;
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_778_(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; 
x_2 = l_Lean_Linter_MissingDocs_missingDocs;
x_3 = l_Lean_Elab_Command_addLinter(x_2, x_1);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_addBuiltinHandler(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; 
x_4 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_374____lambda__1___closed__1;
x_5 = lean_st_ref_take(x_4, x_3);
x_6 = lean_ctor_get(x_5, 0);
lean_inc(x_6);
x_7 = lean_ctor_get(x_5, 1);
lean_inc(x_7);
lean_dec(x_5);
x_8 = l_Lean_RBNode_insert___at_Lean_NameMap_insert___spec__1___rarg(x_6, x_1, x_2);
x_9 = lean_st_ref_set(x_4, x_8, x_7);
x_10 = !lean_is_exclusive(x_9);
if (x_10 == 0)
{
return x_9;
}
else
{
lean_object* x_11; lean_object* x_12; lean_object* x_13; 
x_11 = lean_ctor_get(x_9, 0);
x_12 = lean_ctor_get(x_9, 1);
lean_inc(x_12);
lean_inc(x_11);
lean_dec(x_9);
x_13 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_13, 0, x_11);
lean_ctor_set(x_13, 1, x_12);
return x_13;
}
}
}
static lean_object* _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__1___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l_Lean_Linter_initFn____x40_Lean_Linter_MissingDocs___hyg_8____closed__7;
x_2 = l_Lean_Linter_initFn____x40_Lean_Linter_MissingDocs___hyg_8____closed__8;
x_3 = l_Lean_Linter_MissingDocs_mkHandlerUnsafe___closed__5;
x_4 = l_Lean_Linter_MissingDocs_mkHandlerUnsafe___closed__6;
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
static lean_object* _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__1___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__1___closed__1;
x_3 = l_Lean_Expr_const___override(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__1___closed__3() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("addBuiltinHandler", 17, 17);
return x_1;
}
}
static lean_object* _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__1___closed__4() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l_Lean_Linter_initFn____x40_Lean_Linter_MissingDocs___hyg_8____closed__7;
x_2 = l_Lean_Linter_initFn____x40_Lean_Linter_MissingDocs___hyg_8____closed__8;
x_3 = l_Lean_Linter_MissingDocs_mkHandlerUnsafe___closed__5;
x_4 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__1___closed__3;
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
static lean_object* _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__1___closed__5() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__1___closed__4;
x_3 = l_Lean_Expr_const___override(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__1___closed__6() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("toHandler", 9, 9);
return x_1;
}
}
static lean_object* _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__1___closed__7() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; 
x_1 = l_Lean_Linter_initFn____x40_Lean_Linter_MissingDocs___hyg_8____closed__7;
x_2 = l_Lean_Linter_initFn____x40_Lean_Linter_MissingDocs___hyg_8____closed__8;
x_3 = l_Lean_Linter_MissingDocs_mkHandlerUnsafe___closed__5;
x_4 = l_Lean_Linter_MissingDocs_mkHandlerUnsafe___closed__6;
x_5 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__1___closed__6;
x_6 = l_Lean_Name_mkStr5(x_1, x_2, x_3, x_4, x_5);
return x_6;
}
}
static lean_object* _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__1___closed__8() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__1___closed__7;
x_3 = l_Lean_Expr_const___override(x_2, x_1);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
_start:
{
lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; lean_object* x_12; 
x_8 = l_Lean_ConstantInfo_type(x_1);
x_9 = lean_box(0);
x_10 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__1___closed__2;
x_11 = lean_expr_eqv(x_8, x_10);
lean_dec(x_8);
x_12 = l___private_Lean_ToExpr_0__Lean_Name_toExprAux(x_2);
if (x_11 == 0)
{
lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; 
lean_inc(x_3);
x_13 = l_Lean_Expr_const___override(x_3, x_9);
x_14 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__1___closed__5;
x_15 = l_Lean_mkAppB(x_14, x_12, x_13);
x_16 = l_Lean_declareBuiltin(x_3, x_15, x_5, x_6, x_7);
return x_16;
}
else
{
lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; 
lean_inc(x_3);
x_17 = l_Lean_Expr_const___override(x_3, x_9);
x_18 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__1___closed__8;
x_19 = l_Lean_Expr_app___override(x_18, x_17);
x_20 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__1___closed__5;
x_21 = l_Lean_mkAppB(x_20, x_12, x_19);
x_22 = l_Lean_declareBuiltin(x_3, x_21, x_5, x_6, x_7);
return x_22;
}
}
}
static lean_object* _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__2___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Linter_MissingDocs_mkHandlerUnsafe___closed__3;
x_2 = l_Lean_stringToMessageData(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__2___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Linter_MissingDocs_mkHandlerUnsafe___closed__4;
x_2 = l_Lean_stringToMessageData(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__2___closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l_Lean_Linter_initFn____x40_Lean_Linter_MissingDocs___hyg_8____closed__7;
x_2 = l_Lean_Linter_initFn____x40_Lean_Linter_MissingDocs___hyg_8____closed__8;
x_3 = l_Lean_Linter_MissingDocs_mkHandlerUnsafe___closed__5;
x_4 = l_Lean_Linter_MissingDocs_mkHandlerUnsafe___closed__7;
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
static lean_object* _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__2___closed__4() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__2___closed__3;
x_3 = l_Lean_Expr_const___override(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__2___closed__5() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__1___closed__1;
x_3 = l_Lean_Expr_const___override(x_2, x_1);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
lean_object* x_7; 
lean_inc(x_1);
x_7 = l_Lean_getConstInfo___at_Lean_registerInitAttrUnsafe___spec__1(x_1, x_4, x_5, x_6);
if (lean_obj_tag(x_7) == 0)
{
lean_object* x_8; lean_object* x_9; lean_object* x_10; 
x_8 = lean_ctor_get(x_7, 0);
lean_inc(x_8);
x_9 = lean_ctor_get(x_7, 1);
lean_inc(x_9);
lean_dec(x_7);
lean_inc(x_4);
x_10 = l_Lean_Attribute_Builtin_getIdent(x_2, x_4, x_5, x_9);
if (lean_obj_tag(x_10) == 0)
{
lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; 
x_11 = lean_ctor_get(x_10, 0);
lean_inc(x_11);
x_12 = lean_ctor_get(x_10, 1);
lean_inc(x_12);
lean_dec(x_10);
x_13 = lean_box(0);
lean_inc(x_5);
lean_inc(x_4);
x_14 = l_Lean_Elab_realizeGlobalConstNoOverloadWithInfo(x_11, x_13, x_4, x_5, x_12);
if (lean_obj_tag(x_14) == 0)
{
lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; 
x_15 = lean_ctor_get(x_14, 0);
lean_inc(x_15);
x_16 = lean_ctor_get(x_14, 1);
lean_inc(x_16);
lean_dec(x_14);
x_17 = l_Lean_ConstantInfo_levelParams(x_8);
x_18 = l_List_isEmpty___rarg(x_17);
lean_dec(x_17);
if (x_18 == 0)
{
lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; 
lean_dec(x_15);
lean_dec(x_8);
x_19 = l_Lean_MessageData_ofName(x_1);
x_20 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__2___closed__1;
x_21 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_21, 0, x_20);
lean_ctor_set(x_21, 1, x_19);
x_22 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__2___closed__2;
x_23 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_23, 0, x_21);
lean_ctor_set(x_23, 1, x_22);
x_24 = l_Lean_throwError___at_Lean_registerTagAttribute___spec__1(x_23, x_4, x_5, x_16);
lean_dec(x_5);
lean_dec(x_4);
x_25 = !lean_is_exclusive(x_24);
if (x_25 == 0)
{
return x_24;
}
else
{
lean_object* x_26; lean_object* x_27; lean_object* x_28; 
x_26 = lean_ctor_get(x_24, 0);
x_27 = lean_ctor_get(x_24, 1);
lean_inc(x_27);
lean_inc(x_26);
lean_dec(x_24);
x_28 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_28, 0, x_26);
lean_ctor_set(x_28, 1, x_27);
return x_28;
}
}
else
{
lean_object* x_29; lean_object* x_30; uint8_t x_31; 
x_29 = l_Lean_ConstantInfo_type(x_8);
x_30 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__2___closed__4;
x_31 = lean_expr_eqv(x_29, x_30);
if (x_31 == 0)
{
lean_object* x_32; uint8_t x_33; 
x_32 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__2___closed__5;
x_33 = lean_expr_eqv(x_29, x_32);
lean_dec(x_29);
if (x_33 == 0)
{
lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; uint8_t x_40; 
lean_dec(x_15);
lean_dec(x_8);
x_34 = l_Lean_MessageData_ofName(x_1);
x_35 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__2___closed__1;
x_36 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_36, 0, x_35);
lean_ctor_set(x_36, 1, x_34);
x_37 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__2___closed__2;
x_38 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_38, 0, x_36);
lean_ctor_set(x_38, 1, x_37);
x_39 = l_Lean_throwError___at_Lean_registerTagAttribute___spec__1(x_38, x_4, x_5, x_16);
lean_dec(x_5);
lean_dec(x_4);
x_40 = !lean_is_exclusive(x_39);
if (x_40 == 0)
{
return x_39;
}
else
{
lean_object* x_41; lean_object* x_42; lean_object* x_43; 
x_41 = lean_ctor_get(x_39, 0);
x_42 = lean_ctor_get(x_39, 1);
lean_inc(x_42);
lean_inc(x_41);
lean_dec(x_39);
x_43 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_43, 0, x_41);
lean_ctor_set(x_43, 1, x_42);
return x_43;
}
}
else
{
lean_object* x_44; lean_object* x_45; 
x_44 = lean_box(0);
x_45 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__1(x_8, x_15, x_1, x_44, x_4, x_5, x_16);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_8);
return x_45;
}
}
else
{
lean_object* x_46; lean_object* x_47; 
lean_dec(x_29);
x_46 = lean_box(0);
x_47 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__1(x_8, x_15, x_1, x_46, x_4, x_5, x_16);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_8);
return x_47;
}
}
}
else
{
uint8_t x_48; 
lean_dec(x_8);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_1);
x_48 = !lean_is_exclusive(x_14);
if (x_48 == 0)
{
return x_14;
}
else
{
lean_object* x_49; lean_object* x_50; lean_object* x_51; 
x_49 = lean_ctor_get(x_14, 0);
x_50 = lean_ctor_get(x_14, 1);
lean_inc(x_50);
lean_inc(x_49);
lean_dec(x_14);
x_51 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_51, 0, x_49);
lean_ctor_set(x_51, 1, x_50);
return x_51;
}
}
}
else
{
uint8_t x_52; 
lean_dec(x_8);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_1);
x_52 = !lean_is_exclusive(x_10);
if (x_52 == 0)
{
return x_10;
}
else
{
lean_object* x_53; lean_object* x_54; lean_object* x_55; 
x_53 = lean_ctor_get(x_10, 0);
x_54 = lean_ctor_get(x_10, 1);
lean_inc(x_54);
lean_inc(x_53);
lean_dec(x_10);
x_55 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_55, 0, x_53);
lean_ctor_set(x_55, 1, x_54);
return x_55;
}
}
}
else
{
uint8_t x_56; 
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_2);
lean_dec(x_1);
x_56 = !lean_is_exclusive(x_7);
if (x_56 == 0)
{
return x_7;
}
else
{
lean_object* x_57; lean_object* x_58; lean_object* x_59; 
x_57 = lean_ctor_get(x_7, 0);
x_58 = lean_ctor_get(x_7, 1);
lean_inc(x_58);
lean_inc(x_57);
lean_dec(x_7);
x_59 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_59, 0, x_57);
lean_ctor_set(x_59, 1, x_58);
return x_59;
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; 
x_7 = lean_st_ref_get(x_5, x_6);
x_8 = lean_ctor_get(x_7, 1);
lean_inc(x_8);
lean_dec(x_7);
x_9 = lean_box(0);
x_10 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__2(x_1, x_2, x_9, x_4, x_5, x_8);
return x_10;
}
}
static lean_object* _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__4___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("invalid attribute '", 19, 19);
return x_1;
}
}
static lean_object* _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__4___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__4___closed__1;
x_2 = l_Lean_stringToMessageData(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__4___closed__3() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("', must be global", 17, 17);
return x_1;
}
}
static lean_object* _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__4___closed__4() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__4___closed__3;
x_2 = l_Lean_stringToMessageData(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
_start:
{
uint8_t x_8; uint8_t x_9; 
x_8 = 0;
x_9 = l___private_Lean_Attributes_0__Lean_beqAttributeKind____x40_Lean_Attributes___hyg_162_(x_4, x_8);
if (x_9 == 0)
{
lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; 
lean_dec(x_3);
lean_dec(x_2);
x_10 = l_Lean_MessageData_ofName(x_1);
x_11 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__4___closed__2;
x_12 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_12, 0, x_11);
lean_ctor_set(x_12, 1, x_10);
x_13 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__4___closed__4;
x_14 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_14, 0, x_12);
lean_ctor_set(x_14, 1, x_13);
x_15 = l_Lean_throwError___at_Lean_registerTagAttribute___spec__1(x_14, x_5, x_6, x_7);
lean_dec(x_6);
lean_dec(x_5);
x_16 = !lean_is_exclusive(x_15);
if (x_16 == 0)
{
return x_15;
}
else
{
lean_object* x_17; lean_object* x_18; lean_object* x_19; 
x_17 = lean_ctor_get(x_15, 0);
x_18 = lean_ctor_get(x_15, 1);
lean_inc(x_18);
lean_inc(x_17);
lean_dec(x_15);
x_19 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_19, 0, x_17);
lean_ctor_set(x_19, 1, x_18);
return x_19;
}
}
else
{
lean_object* x_20; lean_object* x_21; 
lean_dec(x_1);
x_20 = lean_box(0);
x_21 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__3(x_2, x_3, x_20, x_5, x_6, x_7);
return x_21;
}
}
}
static lean_object* _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__5___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("attribute cannot be erased", 26, 26);
return x_1;
}
}
static lean_object* _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__5___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__5___closed__1;
x_2 = l_Lean_stringToMessageData(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; lean_object* x_6; 
x_5 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__5___closed__2;
x_6 = l_Lean_throwError___at_Lean_AttributeImpl_erase___default___spec__1(x_5, x_2, x_3, x_4);
return x_6;
}
}
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
_start:
{
lean_object* x_8; uint8_t x_9; 
x_8 = lean_st_ref_get(x_6, x_7);
x_9 = !lean_is_exclusive(x_8);
if (x_9 == 0)
{
lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; 
x_10 = lean_ctor_get(x_8, 0);
x_11 = lean_ctor_get(x_8, 1);
x_12 = lean_ctor_get(x_10, 0);
lean_inc(x_12);
lean_dec(x_10);
x_13 = lean_ctor_get(x_5, 2);
lean_inc(x_13);
lean_ctor_set(x_8, 1, x_13);
lean_ctor_set(x_8, 0, x_12);
x_14 = lean_ctor_get(x_5, 5);
lean_inc(x_1);
x_15 = l_Lean_Linter_MissingDocs_mkHandlerUnsafe(x_1, x_8, x_11);
if (lean_obj_tag(x_15) == 0)
{
lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; 
x_16 = lean_ctor_get(x_15, 0);
lean_inc(x_16);
x_17 = lean_ctor_get(x_15, 1);
lean_inc(x_17);
lean_dec(x_15);
x_18 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_18, 0, x_2);
lean_ctor_set(x_18, 1, x_16);
x_19 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_19, 0, x_1);
lean_ctor_set(x_19, 1, x_18);
x_20 = l_Lean_Linter_MissingDocs_addHandler___closed__1;
x_21 = l_Lean_PersistentEnvExtension_addEntry___rarg(x_20, x_3, x_19);
x_22 = l_Lean_setEnv___at_Lean_registerParametricAttribute___spec__3(x_21, x_5, x_6, x_17);
return x_22;
}
else
{
uint8_t x_23; 
lean_dec(x_3);
lean_dec(x_2);
lean_dec(x_1);
x_23 = !lean_is_exclusive(x_15);
if (x_23 == 0)
{
lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; 
x_24 = lean_ctor_get(x_15, 0);
x_25 = lean_io_error_to_string(x_24);
x_26 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_26, 0, x_25);
x_27 = l_Lean_MessageData_ofFormat(x_26);
lean_inc(x_14);
x_28 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_28, 0, x_14);
lean_ctor_set(x_28, 1, x_27);
lean_ctor_set(x_15, 0, x_28);
return x_15;
}
else
{
lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; 
x_29 = lean_ctor_get(x_15, 0);
x_30 = lean_ctor_get(x_15, 1);
lean_inc(x_30);
lean_inc(x_29);
lean_dec(x_15);
x_31 = lean_io_error_to_string(x_29);
x_32 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_32, 0, x_31);
x_33 = l_Lean_MessageData_ofFormat(x_32);
lean_inc(x_14);
x_34 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_34, 0, x_14);
lean_ctor_set(x_34, 1, x_33);
x_35 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_35, 0, x_34);
lean_ctor_set(x_35, 1, x_30);
return x_35;
}
}
}
else
{
lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; 
x_36 = lean_ctor_get(x_8, 0);
x_37 = lean_ctor_get(x_8, 1);
lean_inc(x_37);
lean_inc(x_36);
lean_dec(x_8);
x_38 = lean_ctor_get(x_36, 0);
lean_inc(x_38);
lean_dec(x_36);
x_39 = lean_ctor_get(x_5, 2);
lean_inc(x_39);
x_40 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_40, 0, x_38);
lean_ctor_set(x_40, 1, x_39);
x_41 = lean_ctor_get(x_5, 5);
lean_inc(x_1);
x_42 = l_Lean_Linter_MissingDocs_mkHandlerUnsafe(x_1, x_40, x_37);
if (lean_obj_tag(x_42) == 0)
{
lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; 
x_43 = lean_ctor_get(x_42, 0);
lean_inc(x_43);
x_44 = lean_ctor_get(x_42, 1);
lean_inc(x_44);
lean_dec(x_42);
x_45 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_45, 0, x_2);
lean_ctor_set(x_45, 1, x_43);
x_46 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_46, 0, x_1);
lean_ctor_set(x_46, 1, x_45);
x_47 = l_Lean_Linter_MissingDocs_addHandler___closed__1;
x_48 = l_Lean_PersistentEnvExtension_addEntry___rarg(x_47, x_3, x_46);
x_49 = l_Lean_setEnv___at_Lean_registerParametricAttribute___spec__3(x_48, x_5, x_6, x_44);
return x_49;
}
else
{
lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; 
lean_dec(x_3);
lean_dec(x_2);
lean_dec(x_1);
x_50 = lean_ctor_get(x_42, 0);
lean_inc(x_50);
x_51 = lean_ctor_get(x_42, 1);
lean_inc(x_51);
if (lean_is_exclusive(x_42)) {
 lean_ctor_release(x_42, 0);
 lean_ctor_release(x_42, 1);
 x_52 = x_42;
} else {
 lean_dec_ref(x_42);
 x_52 = lean_box(0);
}
x_53 = lean_io_error_to_string(x_50);
x_54 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_54, 0, x_53);
x_55 = l_Lean_MessageData_ofFormat(x_54);
lean_inc(x_41);
x_56 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_56, 0, x_41);
lean_ctor_set(x_56, 1, x_55);
if (lean_is_scalar(x_52)) {
 x_57 = lean_alloc_ctor(1, 2, 0);
} else {
 x_57 = x_52;
}
lean_ctor_set(x_57, 0, x_56);
lean_ctor_set(x_57, 1, x_51);
return x_57;
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
_start:
{
lean_object* x_8; 
lean_inc(x_1);
x_8 = l_Lean_getConstInfo___at_Lean_registerInitAttrUnsafe___spec__1(x_1, x_5, x_6, x_7);
if (lean_obj_tag(x_8) == 0)
{
lean_object* x_9; lean_object* x_10; lean_object* x_11; 
x_9 = lean_ctor_get(x_8, 0);
lean_inc(x_9);
x_10 = lean_ctor_get(x_8, 1);
lean_inc(x_10);
lean_dec(x_8);
lean_inc(x_5);
x_11 = l_Lean_Attribute_Builtin_getIdent(x_2, x_5, x_6, x_10);
if (lean_obj_tag(x_11) == 0)
{
lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; 
x_12 = lean_ctor_get(x_11, 0);
lean_inc(x_12);
x_13 = lean_ctor_get(x_11, 1);
lean_inc(x_13);
lean_dec(x_11);
x_14 = lean_box(0);
lean_inc(x_6);
lean_inc(x_5);
x_15 = l_Lean_Elab_realizeGlobalConstNoOverloadWithInfo(x_12, x_14, x_5, x_6, x_13);
if (lean_obj_tag(x_15) == 0)
{
lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; 
x_16 = lean_ctor_get(x_15, 0);
lean_inc(x_16);
x_17 = lean_ctor_get(x_15, 1);
lean_inc(x_17);
lean_dec(x_15);
x_18 = l_Lean_ConstantInfo_levelParams(x_9);
x_19 = l_List_isEmpty___rarg(x_18);
lean_dec(x_18);
if (x_19 == 0)
{
lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; 
lean_dec(x_16);
lean_dec(x_9);
lean_dec(x_3);
x_20 = l_Lean_MessageData_ofName(x_1);
x_21 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__2___closed__1;
x_22 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_22, 0, x_21);
lean_ctor_set(x_22, 1, x_20);
x_23 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__2___closed__2;
x_24 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_24, 0, x_22);
lean_ctor_set(x_24, 1, x_23);
x_25 = l_Lean_throwError___at_Lean_registerTagAttribute___spec__1(x_24, x_5, x_6, x_17);
lean_dec(x_6);
lean_dec(x_5);
x_26 = !lean_is_exclusive(x_25);
if (x_26 == 0)
{
return x_25;
}
else
{
lean_object* x_27; lean_object* x_28; lean_object* x_29; 
x_27 = lean_ctor_get(x_25, 0);
x_28 = lean_ctor_get(x_25, 1);
lean_inc(x_28);
lean_inc(x_27);
lean_dec(x_25);
x_29 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_29, 0, x_27);
lean_ctor_set(x_29, 1, x_28);
return x_29;
}
}
else
{
lean_object* x_30; lean_object* x_31; uint8_t x_32; 
x_30 = l_Lean_ConstantInfo_type(x_9);
lean_dec(x_9);
x_31 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__2___closed__4;
x_32 = lean_expr_eqv(x_30, x_31);
if (x_32 == 0)
{
lean_object* x_33; uint8_t x_34; 
x_33 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__2___closed__5;
x_34 = lean_expr_eqv(x_30, x_33);
lean_dec(x_30);
if (x_34 == 0)
{
lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; uint8_t x_41; 
lean_dec(x_16);
lean_dec(x_3);
x_35 = l_Lean_MessageData_ofName(x_1);
x_36 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__2___closed__1;
x_37 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_37, 0, x_36);
lean_ctor_set(x_37, 1, x_35);
x_38 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__2___closed__2;
x_39 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_39, 0, x_37);
lean_ctor_set(x_39, 1, x_38);
x_40 = l_Lean_throwError___at_Lean_registerTagAttribute___spec__1(x_39, x_5, x_6, x_17);
lean_dec(x_6);
lean_dec(x_5);
x_41 = !lean_is_exclusive(x_40);
if (x_41 == 0)
{
return x_40;
}
else
{
lean_object* x_42; lean_object* x_43; lean_object* x_44; 
x_42 = lean_ctor_get(x_40, 0);
x_43 = lean_ctor_get(x_40, 1);
lean_inc(x_43);
lean_inc(x_42);
lean_dec(x_40);
x_44 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_44, 0, x_42);
lean_ctor_set(x_44, 1, x_43);
return x_44;
}
}
else
{
lean_object* x_45; lean_object* x_46; 
x_45 = lean_box(0);
x_46 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__6(x_1, x_16, x_3, x_45, x_5, x_6, x_17);
lean_dec(x_6);
lean_dec(x_5);
return x_46;
}
}
else
{
lean_object* x_47; lean_object* x_48; 
lean_dec(x_30);
x_47 = lean_box(0);
x_48 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__6(x_1, x_16, x_3, x_47, x_5, x_6, x_17);
lean_dec(x_6);
lean_dec(x_5);
return x_48;
}
}
}
else
{
uint8_t x_49; 
lean_dec(x_9);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_3);
lean_dec(x_1);
x_49 = !lean_is_exclusive(x_15);
if (x_49 == 0)
{
return x_15;
}
else
{
lean_object* x_50; lean_object* x_51; lean_object* x_52; 
x_50 = lean_ctor_get(x_15, 0);
x_51 = lean_ctor_get(x_15, 1);
lean_inc(x_51);
lean_inc(x_50);
lean_dec(x_15);
x_52 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_52, 0, x_50);
lean_ctor_set(x_52, 1, x_51);
return x_52;
}
}
}
else
{
uint8_t x_53; 
lean_dec(x_9);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_3);
lean_dec(x_1);
x_53 = !lean_is_exclusive(x_11);
if (x_53 == 0)
{
return x_11;
}
else
{
lean_object* x_54; lean_object* x_55; lean_object* x_56; 
x_54 = lean_ctor_get(x_11, 0);
x_55 = lean_ctor_get(x_11, 1);
lean_inc(x_55);
lean_inc(x_54);
lean_dec(x_11);
x_56 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_56, 0, x_54);
lean_ctor_set(x_56, 1, x_55);
return x_56;
}
}
}
else
{
uint8_t x_57; 
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_3);
lean_dec(x_2);
lean_dec(x_1);
x_57 = !lean_is_exclusive(x_8);
if (x_57 == 0)
{
return x_8;
}
else
{
lean_object* x_58; lean_object* x_59; lean_object* x_60; 
x_58 = lean_ctor_get(x_8, 0);
x_59 = lean_ctor_get(x_8, 1);
lean_inc(x_59);
lean_inc(x_58);
lean_dec(x_8);
x_60 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_60, 0, x_58);
lean_ctor_set(x_60, 1, x_59);
return x_60;
}
}
}
}
static lean_object* _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__8___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("', declaration is in an imported module", 39, 39);
return x_1;
}
}
static lean_object* _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__8___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__8___closed__1;
x_2 = l_Lean_stringToMessageData(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__8(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
_start:
{
lean_object* x_8; uint8_t x_9; 
x_8 = lean_st_ref_get(x_6, x_7);
x_9 = !lean_is_exclusive(x_8);
if (x_9 == 0)
{
lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; 
x_10 = lean_ctor_get(x_8, 0);
x_11 = lean_ctor_get(x_8, 1);
x_12 = lean_ctor_get(x_10, 0);
lean_inc(x_12);
lean_dec(x_10);
x_13 = l_Lean_Environment_getModuleIdxFor_x3f(x_12, x_1);
if (lean_obj_tag(x_13) == 0)
{
lean_object* x_14; lean_object* x_15; 
lean_free_object(x_8);
lean_dec(x_3);
x_14 = lean_box(0);
x_15 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__7(x_1, x_2, x_12, x_14, x_5, x_6, x_11);
return x_15;
}
else
{
lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; 
lean_dec(x_13);
lean_dec(x_12);
lean_dec(x_2);
lean_dec(x_1);
x_16 = l_Lean_MessageData_ofName(x_3);
x_17 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__4___closed__2;
lean_ctor_set_tag(x_8, 7);
lean_ctor_set(x_8, 1, x_16);
lean_ctor_set(x_8, 0, x_17);
x_18 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__8___closed__2;
x_19 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_19, 0, x_8);
lean_ctor_set(x_19, 1, x_18);
x_20 = l_Lean_throwError___at_Lean_registerTagAttribute___spec__1(x_19, x_5, x_6, x_11);
lean_dec(x_6);
lean_dec(x_5);
x_21 = !lean_is_exclusive(x_20);
if (x_21 == 0)
{
return x_20;
}
else
{
lean_object* x_22; lean_object* x_23; lean_object* x_24; 
x_22 = lean_ctor_get(x_20, 0);
x_23 = lean_ctor_get(x_20, 1);
lean_inc(x_23);
lean_inc(x_22);
lean_dec(x_20);
x_24 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_24, 0, x_22);
lean_ctor_set(x_24, 1, x_23);
return x_24;
}
}
}
else
{
lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; 
x_25 = lean_ctor_get(x_8, 0);
x_26 = lean_ctor_get(x_8, 1);
lean_inc(x_26);
lean_inc(x_25);
lean_dec(x_8);
x_27 = lean_ctor_get(x_25, 0);
lean_inc(x_27);
lean_dec(x_25);
x_28 = l_Lean_Environment_getModuleIdxFor_x3f(x_27, x_1);
if (lean_obj_tag(x_28) == 0)
{
lean_object* x_29; lean_object* x_30; 
lean_dec(x_3);
x_29 = lean_box(0);
x_30 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__7(x_1, x_2, x_27, x_29, x_5, x_6, x_26);
return x_30;
}
else
{
lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; 
lean_dec(x_28);
lean_dec(x_27);
lean_dec(x_2);
lean_dec(x_1);
x_31 = l_Lean_MessageData_ofName(x_3);
x_32 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__4___closed__2;
x_33 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_33, 0, x_32);
lean_ctor_set(x_33, 1, x_31);
x_34 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__8___closed__2;
x_35 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_35, 0, x_33);
lean_ctor_set(x_35, 1, x_34);
x_36 = l_Lean_throwError___at_Lean_registerTagAttribute___spec__1(x_35, x_5, x_6, x_26);
lean_dec(x_6);
lean_dec(x_5);
x_37 = lean_ctor_get(x_36, 0);
lean_inc(x_37);
x_38 = lean_ctor_get(x_36, 1);
lean_inc(x_38);
if (lean_is_exclusive(x_36)) {
 lean_ctor_release(x_36, 0);
 lean_ctor_release(x_36, 1);
 x_39 = x_36;
} else {
 lean_dec_ref(x_36);
 x_39 = lean_box(0);
}
if (lean_is_scalar(x_39)) {
 x_40 = lean_alloc_ctor(1, 2, 0);
} else {
 x_40 = x_39;
}
lean_ctor_set(x_40, 0, x_37);
lean_ctor_set(x_40, 1, x_38);
return x_40;
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__9(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
_start:
{
uint8_t x_8; uint8_t x_9; 
x_8 = 0;
x_9 = l___private_Lean_Attributes_0__Lean_beqAttributeKind____x40_Lean_Attributes___hyg_162_(x_4, x_8);
if (x_9 == 0)
{
lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; 
lean_dec(x_3);
lean_dec(x_2);
x_10 = l_Lean_MessageData_ofName(x_1);
x_11 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__4___closed__2;
x_12 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_12, 0, x_11);
lean_ctor_set(x_12, 1, x_10);
x_13 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__4___closed__4;
x_14 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_14, 0, x_12);
lean_ctor_set(x_14, 1, x_13);
x_15 = l_Lean_throwError___at_Lean_registerTagAttribute___spec__1(x_14, x_5, x_6, x_7);
lean_dec(x_6);
lean_dec(x_5);
x_16 = !lean_is_exclusive(x_15);
if (x_16 == 0)
{
return x_15;
}
else
{
lean_object* x_17; lean_object* x_18; lean_object* x_19; 
x_17 = lean_ctor_get(x_15, 0);
x_18 = lean_ctor_get(x_15, 1);
lean_inc(x_18);
lean_inc(x_17);
lean_dec(x_15);
x_19 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_19, 0, x_17);
lean_ctor_set(x_19, 1, x_18);
return x_19;
}
}
else
{
lean_object* x_20; lean_object* x_21; 
x_20 = lean_box(0);
x_21 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__8(x_2, x_3, x_1, x_20, x_5, x_6, x_7);
return x_21;
}
}
}
static lean_object* _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("builtin_missing_docs_handler", 28, 28);
return x_1;
}
}
static lean_object* _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__1;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l_Lean_Linter_initFn____x40_Lean_Linter_MissingDocs___hyg_8____closed__7;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__4() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__3;
x_2 = l_Lean_Linter_initFn____x40_Lean_Linter_MissingDocs___hyg_8____closed__8;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__5() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__4;
x_2 = l_Lean_Linter_MissingDocs_mkHandlerUnsafe___closed__5;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__6() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("initFn", 6, 6);
return x_1;
}
}
static lean_object* _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__7() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__5;
x_2 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__6;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__8() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("_@", 2, 2);
return x_1;
}
}
static lean_object* _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__9() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__7;
x_2 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__8;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__10() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__9;
x_2 = l_Lean_Linter_initFn____x40_Lean_Linter_MissingDocs___hyg_8____closed__7;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__11() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__10;
x_2 = l_Lean_Linter_initFn____x40_Lean_Linter_MissingDocs___hyg_8____closed__8;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__12() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__11;
x_2 = l_Lean_Linter_MissingDocs_mkHandlerUnsafe___closed__5;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__13() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("_hyg", 4, 4);
return x_1;
}
}
static lean_object* _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__14() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__12;
x_2 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__13;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__15() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__14;
x_2 = lean_unsigned_to_nat(810u);
x_3 = l_Lean_Name_num___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__16() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("(builtin) ", 10, 10);
return x_1;
}
}
static lean_object* _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__17() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("adds a syntax traversal for the missing docs linter", 51, 51);
return x_1;
}
}
static lean_object* _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__18() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__16;
x_2 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__17;
x_3 = lean_string_append(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__19() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; 
x_1 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__15;
x_2 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__2;
x_3 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__18;
x_4 = 1;
x_5 = lean_alloc_ctor(0, 3, 1);
lean_ctor_set(x_5, 0, x_1);
lean_ctor_set(x_5, 1, x_2);
lean_ctor_set(x_5, 2, x_3);
lean_ctor_set_uint8(x_5, sizeof(void*)*3, x_4);
return x_5;
}
}
static lean_object* _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__20() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__5___boxed), 4, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__21() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("missing_docs_handler", 20, 20);
return x_1;
}
}
static lean_object* _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__22() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__21;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__23() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Linter_initFn____x40_Lean_Linter_MissingDocs___hyg_8____closed__4;
x_2 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__17;
x_3 = lean_string_append(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__24() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; 
x_1 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__15;
x_2 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__22;
x_3 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__23;
x_4 = 1;
x_5 = lean_alloc_ctor(0, 3, 1);
lean_ctor_set(x_5, 0, x_1);
lean_ctor_set(x_5, 1, x_2);
lean_ctor_set(x_5, 2, x_3);
lean_ctor_set_uint8(x_5, sizeof(void*)*3, x_4);
return x_5;
}
}
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810_(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; 
x_2 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__2;
x_3 = lean_alloc_closure((void*)(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__4___boxed), 7, 1);
lean_closure_set(x_3, 0, x_2);
x_4 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__19;
x_5 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__20;
x_6 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_6, 0, x_4);
lean_ctor_set(x_6, 1, x_3);
lean_ctor_set(x_6, 2, x_5);
x_7 = l_Lean_registerBuiltinAttribute(x_6, x_1);
if (lean_obj_tag(x_7) == 0)
{
lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; 
x_8 = lean_ctor_get(x_7, 1);
lean_inc(x_8);
lean_dec(x_7);
x_9 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__22;
x_10 = lean_alloc_closure((void*)(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__9___boxed), 7, 1);
lean_closure_set(x_10, 0, x_9);
x_11 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__24;
x_12 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_12, 0, x_11);
lean_ctor_set(x_12, 1, x_10);
lean_ctor_set(x_12, 2, x_5);
x_13 = l_Lean_registerBuiltinAttribute(x_12, x_8);
return x_13;
}
else
{
uint8_t x_14; 
x_14 = !lean_is_exclusive(x_7);
if (x_14 == 0)
{
return x_7;
}
else
{
lean_object* x_15; lean_object* x_16; lean_object* x_17; 
x_15 = lean_ctor_get(x_7, 0);
x_16 = lean_ctor_get(x_7, 1);
lean_inc(x_16);
lean_inc(x_15);
lean_dec(x_7);
x_17 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_17, 0, x_15);
lean_ctor_set(x_17, 1, x_16);
return x_17;
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
_start:
{
lean_object* x_8; 
x_8 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_1);
return x_8;
}
}
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
lean_object* x_7; 
x_7 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__2(x_1, x_2, x_3, x_4, x_5, x_6);
lean_dec(x_3);
return x_7;
}
}
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
lean_object* x_7; 
x_7 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__3(x_1, x_2, x_3, x_4, x_5, x_6);
lean_dec(x_3);
return x_7;
}
}
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
_start:
{
uint8_t x_8; lean_object* x_9; 
x_8 = lean_unbox(x_4);
lean_dec(x_4);
x_9 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__4(x_1, x_2, x_3, x_8, x_5, x_6, x_7);
return x_9;
}
}
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; 
x_5 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__5(x_1, x_2, x_3, x_4);
lean_dec(x_3);
lean_dec(x_2);
lean_dec(x_1);
return x_5;
}
}
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
_start:
{
lean_object* x_8; 
x_8 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__6(x_1, x_2, x_3, x_4, x_5, x_6, x_7);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_4);
return x_8;
}
}
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
_start:
{
lean_object* x_8; 
x_8 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__7(x_1, x_2, x_3, x_4, x_5, x_6, x_7);
lean_dec(x_4);
return x_8;
}
}
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__8___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
_start:
{
lean_object* x_8; 
x_8 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__8(x_1, x_2, x_3, x_4, x_5, x_6, x_7);
lean_dec(x_4);
return x_8;
}
}
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__9___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
_start:
{
uint8_t x_8; lean_object* x_9; 
x_8 = lean_unbox(x_4);
lean_dec(x_4);
x_9 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__9(x_1, x_2, x_3, x_8, x_5, x_6, x_7);
return x_9;
}
}
static lean_object* _init_l_Lean_Linter_logLint___at_Lean_Linter_MissingDocs_lint___spec__1___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("note: this linter can be disabled with `set_option ", 51, 51);
return x_1;
}
}
static lean_object* _init_l_Lean_Linter_logLint___at_Lean_Linter_MissingDocs_lint___spec__1___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Linter_logLint___at_Lean_Linter_MissingDocs_lint___spec__1___closed__1;
x_2 = l_Lean_stringToMessageData(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Linter_logLint___at_Lean_Linter_MissingDocs_lint___spec__1___closed__3() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked(" false`", 7, 7);
return x_1;
}
}
static lean_object* _init_l_Lean_Linter_logLint___at_Lean_Linter_MissingDocs_lint___spec__1___closed__4() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Linter_logLint___at_Lean_Linter_MissingDocs_lint___spec__1___closed__3;
x_2 = l_Lean_stringToMessageData(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Linter_logLint___at_Lean_Linter_MissingDocs_lint___spec__1___closed__5() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Linter_initFn____x40_Lean_Linter_MissingDocs___hyg_8____closed__4;
x_2 = l_Lean_stringToMessageData(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Linter_logLint___at_Lean_Linter_MissingDocs_lint___spec__1___closed__6() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("\n", 1, 1);
return x_1;
}
}
static lean_object* _init_l_Lean_Linter_logLint___at_Lean_Linter_MissingDocs_lint___spec__1___closed__7() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Linter_logLint___at_Lean_Linter_MissingDocs_lint___spec__1___closed__6;
x_2 = l_Lean_stringToMessageData(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lean_Linter_logLint___at_Lean_Linter_MissingDocs_lint___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
uint8_t x_7; 
x_7 = !lean_is_exclusive(x_1);
if (x_7 == 0)
{
lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; lean_object* x_22; 
x_8 = lean_ctor_get(x_1, 0);
x_9 = lean_ctor_get(x_1, 1);
lean_dec(x_9);
lean_inc(x_8);
x_10 = l_Lean_MessageData_ofName(x_8);
x_11 = l_Lean_Linter_logLint___at_Lean_Linter_MissingDocs_lint___spec__1___closed__2;
lean_ctor_set_tag(x_1, 7);
lean_ctor_set(x_1, 1, x_10);
lean_ctor_set(x_1, 0, x_11);
x_12 = l_Lean_Linter_logLint___at_Lean_Linter_MissingDocs_lint___spec__1___closed__4;
x_13 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_13, 0, x_1);
lean_ctor_set(x_13, 1, x_12);
x_14 = l_Lean_Linter_logLint___at_Lean_Linter_MissingDocs_lint___spec__1___closed__5;
x_15 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_15, 0, x_14);
lean_ctor_set(x_15, 1, x_3);
x_16 = l_Lean_Linter_logLint___at_Lean_Linter_MissingDocs_lint___spec__1___closed__7;
x_17 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_17, 0, x_15);
lean_ctor_set(x_17, 1, x_16);
x_18 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_18, 0, x_17);
lean_ctor_set(x_18, 1, x_13);
x_19 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_19, 0, x_18);
lean_ctor_set(x_19, 1, x_14);
x_20 = lean_alloc_ctor(8, 2, 0);
lean_ctor_set(x_20, 0, x_8);
lean_ctor_set(x_20, 1, x_19);
x_21 = 1;
x_22 = l_Lean_logAt___at_Lean_Elab_Command_elabCommand___spec__4(x_2, x_20, x_21, x_4, x_5, x_6);
return x_22;
}
else
{
lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; uint8_t x_36; lean_object* x_37; 
x_23 = lean_ctor_get(x_1, 0);
lean_inc(x_23);
lean_dec(x_1);
lean_inc(x_23);
x_24 = l_Lean_MessageData_ofName(x_23);
x_25 = l_Lean_Linter_logLint___at_Lean_Linter_MissingDocs_lint___spec__1___closed__2;
x_26 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_26, 0, x_25);
lean_ctor_set(x_26, 1, x_24);
x_27 = l_Lean_Linter_logLint___at_Lean_Linter_MissingDocs_lint___spec__1___closed__4;
x_28 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_28, 0, x_26);
lean_ctor_set(x_28, 1, x_27);
x_29 = l_Lean_Linter_logLint___at_Lean_Linter_MissingDocs_lint___spec__1___closed__5;
x_30 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_30, 0, x_29);
lean_ctor_set(x_30, 1, x_3);
x_31 = l_Lean_Linter_logLint___at_Lean_Linter_MissingDocs_lint___spec__1___closed__7;
x_32 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_32, 0, x_30);
lean_ctor_set(x_32, 1, x_31);
x_33 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_33, 0, x_32);
lean_ctor_set(x_33, 1, x_28);
x_34 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_34, 0, x_33);
lean_ctor_set(x_34, 1, x_29);
x_35 = lean_alloc_ctor(8, 2, 0);
lean_ctor_set(x_35, 0, x_23);
lean_ctor_set(x_35, 1, x_34);
x_36 = 1;
x_37 = l_Lean_logAt___at_Lean_Elab_Command_elabCommand___spec__4(x_2, x_35, x_36, x_4, x_5, x_6);
return x_37;
}
}
}
static lean_object* _init_l_Lean_Linter_MissingDocs_lint___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("missing doc string for ", 23, 23);
return x_1;
}
}
static lean_object* _init_l_Lean_Linter_MissingDocs_lint___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Linter_MissingDocs_lint___closed__1;
x_2 = l_Lean_stringToMessageData(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_lint(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; 
x_6 = l_Lean_stringToMessageData(x_2);
x_7 = l_Lean_Linter_MissingDocs_lint___closed__2;
x_8 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_8, 0, x_7);
lean_ctor_set(x_8, 1, x_6);
x_9 = l_Lean_Linter_logLint___at_Lean_Linter_MissingDocs_lint___spec__1___closed__5;
x_10 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_10, 0, x_8);
lean_ctor_set(x_10, 1, x_9);
x_11 = l_Lean_Linter_getLinterMissingDocs___closed__1;
x_12 = l_Lean_Linter_logLint___at_Lean_Linter_MissingDocs_lint___spec__1(x_11, x_1, x_10, x_3, x_4, x_5);
return x_12;
}
}
LEAN_EXPORT lean_object* l_Lean_Linter_logLint___at_Lean_Linter_MissingDocs_lint___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
lean_object* x_7; 
x_7 = l_Lean_Linter_logLint___at_Lean_Linter_MissingDocs_lint___spec__1(x_1, x_2, x_3, x_4, x_5, x_6);
lean_dec(x_5);
lean_dec(x_2);
return x_7;
}
}
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_lint___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
lean_object* x_6; 
x_6 = l_Lean_Linter_MissingDocs_lint(x_1, x_2, x_3, x_4, x_5);
lean_dec(x_4);
lean_dec(x_2);
lean_dec(x_1);
return x_6;
}
}
static lean_object* _init_l_Lean_Linter_MissingDocs_lintNamed___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked(" ", 1, 1);
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_lintNamed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; 
x_6 = l_Lean_Linter_initFn____x40_Lean_Linter_MissingDocs___hyg_8____closed__4;
x_7 = lean_string_append(x_6, x_2);
x_8 = l_Lean_Linter_MissingDocs_lintNamed___closed__1;
x_9 = lean_string_append(x_7, x_8);
x_10 = l_Lean_Syntax_getId(x_1);
x_11 = 1;
x_12 = l_Lean_Name_toString(x_10, x_11);
x_13 = lean_string_append(x_9, x_12);
lean_dec(x_12);
x_14 = lean_string_append(x_13, x_6);
x_15 = l_Lean_Linter_MissingDocs_lint(x_1, x_14, x_3, x_4, x_5);
lean_dec(x_14);
return x_15;
}
}
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_lintNamed___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
lean_object* x_6; 
x_6 = l_Lean_Linter_MissingDocs_lintNamed(x_1, x_2, x_3, x_4, x_5);
lean_dec(x_4);
lean_dec(x_2);
lean_dec(x_1);
return x_6;
}
}
static lean_object* _init_l_Lean_Linter_MissingDocs_lintField___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked(".", 1, 1);
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_lintField(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; 
x_7 = l_Lean_Linter_initFn____x40_Lean_Linter_MissingDocs___hyg_8____closed__4;
x_8 = lean_string_append(x_7, x_3);
x_9 = l_Lean_Linter_MissingDocs_lintNamed___closed__1;
x_10 = lean_string_append(x_8, x_9);
x_11 = l_Lean_Syntax_getId(x_1);
x_12 = 1;
x_13 = l_Lean_Name_toString(x_11, x_12);
x_14 = lean_string_append(x_10, x_13);
lean_dec(x_13);
x_15 = l_Lean_Linter_MissingDocs_lintField___closed__1;
x_16 = lean_string_append(x_14, x_15);
x_17 = l_Lean_Syntax_getId(x_2);
x_18 = l_Lean_Name_toString(x_17, x_12);
x_19 = lean_string_append(x_16, x_18);
lean_dec(x_18);
x_20 = lean_string_append(x_19, x_7);
x_21 = l_Lean_Linter_MissingDocs_lint(x_2, x_20, x_4, x_5, x_6);
lean_dec(x_20);
return x_21;
}
}
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_lintField___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
lean_object* x_7; 
x_7 = l_Lean_Linter_MissingDocs_lintField(x_1, x_2, x_3, x_4, x_5, x_6);
lean_dec(x_5);
lean_dec(x_3);
lean_dec(x_2);
lean_dec(x_1);
return x_7;
}
}
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_lintStructField(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; 
x_7 = l_Lean_Linter_initFn____x40_Lean_Linter_MissingDocs___hyg_8____closed__4;
x_8 = lean_string_append(x_7, x_3);
x_9 = l_Lean_Linter_MissingDocs_lintNamed___closed__1;
x_10 = lean_string_append(x_8, x_9);
x_11 = l_Lean_Syntax_getId(x_1);
x_12 = 1;
x_13 = l_Lean_Name_toString(x_11, x_12);
x_14 = lean_string_append(x_10, x_13);
lean_dec(x_13);
x_15 = l_Lean_Linter_MissingDocs_lintField___closed__1;
x_16 = lean_string_append(x_14, x_15);
x_17 = l_Lean_Syntax_getId(x_2);
x_18 = l_Lean_Name_toString(x_17, x_12);
x_19 = lean_string_append(x_16, x_18);
lean_dec(x_18);
x_20 = lean_string_append(x_19, x_7);
x_21 = l_Lean_Linter_MissingDocs_lint(x_2, x_20, x_4, x_5, x_6);
lean_dec(x_20);
return x_21;
}
}
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_lintStructField___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
lean_object* x_7; 
x_7 = l_Lean_Linter_MissingDocs_lintStructField(x_1, x_2, x_3, x_4, x_5, x_6);
lean_dec(x_5);
lean_dec(x_3);
lean_dec(x_2);
lean_dec(x_1);
return x_7;
}
}
static lean_object* _init_l_Array_anyMUnsafe_any___at_Lean_Linter_MissingDocs_hasInheritDoc___spec__1___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("Parser", 6, 6);
return x_1;
}
}
static lean_object* _init_l_Array_anyMUnsafe_any___at_Lean_Linter_MissingDocs_hasInheritDoc___spec__1___closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("Attr", 4, 4);
return x_1;
}
}
static lean_object* _init_l_Array_anyMUnsafe_any___at_Lean_Linter_MissingDocs_hasInheritDoc___spec__1___closed__3() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("simple", 6, 6);
return x_1;
}
}
static lean_object* _init_l_Array_anyMUnsafe_any___at_Lean_Linter_MissingDocs_hasInheritDoc___spec__1___closed__4() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l_Lean_Linter_initFn____x40_Lean_Linter_MissingDocs___hyg_8____closed__7;
x_2 = l_Array_anyMUnsafe_any___at_Lean_Linter_MissingDocs_hasInheritDoc___spec__1___closed__1;
x_3 = l_Array_anyMUnsafe_any___at_Lean_Linter_MissingDocs_hasInheritDoc___spec__1___closed__2;
x_4 = l_Array_anyMUnsafe_any___at_Lean_Linter_MissingDocs_hasInheritDoc___spec__1___closed__3;
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
static lean_object* _init_l_Array_anyMUnsafe_any___at_Lean_Linter_MissingDocs_hasInheritDoc___spec__1___closed__5() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("inherit_doc", 11, 11);
return x_1;
}
}
static lean_object* _init_l_Array_anyMUnsafe_any___at_Lean_Linter_MissingDocs_hasInheritDoc___spec__1___closed__6() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l_Array_anyMUnsafe_any___at_Lean_Linter_MissingDocs_hasInheritDoc___spec__1___closed__5;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Linter_MissingDocs_hasInheritDoc___spec__1(lean_object* x_1, size_t x_2, size_t x_3) {
_start:
{
uint8_t x_4; 
x_4 = lean_usize_dec_eq(x_2, x_3);
if (x_4 == 0)
{
lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; 
x_5 = lean_array_uget(x_1, x_2);
x_6 = lean_unsigned_to_nat(1u);
x_7 = l_Lean_Syntax_getArg(x_5, x_6);
lean_dec(x_5);
x_8 = l_Array_anyMUnsafe_any___at_Lean_Linter_MissingDocs_hasInheritDoc___spec__1___closed__4;
lean_inc(x_7);
x_9 = l_Lean_Syntax_isOfKind(x_7, x_8);
if (x_9 == 0)
{
size_t x_10; size_t x_11; 
lean_dec(x_7);
x_10 = 1;
x_11 = lean_usize_add(x_2, x_10);
x_2 = x_11;
goto _start;
}
else
{
lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; 
x_13 = lean_unsigned_to_nat(0u);
x_14 = l_Lean_Syntax_getArg(x_7, x_13);
lean_dec(x_7);
x_15 = l_Lean_Syntax_getId(x_14);
lean_dec(x_14);
x_16 = lean_erase_macro_scopes(x_15);
x_17 = l_Array_anyMUnsafe_any___at_Lean_Linter_MissingDocs_hasInheritDoc___spec__1___closed__6;
x_18 = lean_name_eq(x_16, x_17);
lean_dec(x_16);
if (x_18 == 0)
{
size_t x_19; size_t x_20; 
x_19 = 1;
x_20 = lean_usize_add(x_2, x_19);
x_2 = x_20;
goto _start;
}
else
{
uint8_t x_22; 
x_22 = 1;
return x_22;
}
}
}
else
{
uint8_t x_23; 
x_23 = 0;
return x_23;
}
}
}
LEAN_EXPORT uint8_t l_Lean_Linter_MissingDocs_hasInheritDoc(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; 
x_2 = lean_unsigned_to_nat(0u);
x_3 = l_Lean_Syntax_getArg(x_1, x_2);
x_4 = lean_unsigned_to_nat(1u);
x_5 = l_Lean_Syntax_getArg(x_3, x_4);
lean_dec(x_3);
x_6 = l_Lean_Syntax_getSepArgs(x_5);
lean_dec(x_5);
x_7 = lean_array_get_size(x_6);
x_8 = lean_nat_dec_lt(x_2, x_7);
if (x_8 == 0)
{
uint8_t x_9; 
lean_dec(x_7);
lean_dec(x_6);
x_9 = 0;
return x_9;
}
else
{
size_t x_10; size_t x_11; uint8_t x_12; 
x_10 = 0;
x_11 = lean_usize_of_nat(x_7);
lean_dec(x_7);
x_12 = l_Array_anyMUnsafe_any___at_Lean_Linter_MissingDocs_hasInheritDoc___spec__1(x_6, x_10, x_11);
lean_dec(x_6);
return x_12;
}
}
}
LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Linter_MissingDocs_hasInheritDoc___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
size_t x_4; size_t x_5; uint8_t x_6; lean_object* x_7; 
x_4 = lean_unbox_usize(x_2);
lean_dec(x_2);
x_5 = lean_unbox_usize(x_3);
lean_dec(x_3);
x_6 = l_Array_anyMUnsafe_any___at_Lean_Linter_MissingDocs_hasInheritDoc___spec__1(x_1, x_4, x_5);
lean_dec(x_1);
x_7 = lean_box(x_6);
return x_7;
}
}
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_hasInheritDoc___boxed(lean_object* x_1) {
_start:
{
uint8_t x_2; lean_object* x_3; 
x_2 = l_Lean_Linter_MissingDocs_hasInheritDoc(x_1);
lean_dec(x_1);
x_3 = lean_box(x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Linter_MissingDocs_declModifiersPubNoDoc___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("Command", 7, 7);
return x_1;
}
}
static lean_object* _init_l_Lean_Linter_MissingDocs_declModifiersPubNoDoc___closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("private", 7, 7);
return x_1;
}
}
static lean_object* _init_l_Lean_Linter_MissingDocs_declModifiersPubNoDoc___closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l_Lean_Linter_initFn____x40_Lean_Linter_MissingDocs___hyg_8____closed__7;
x_2 = l_Array_anyMUnsafe_any___at_Lean_Linter_MissingDocs_hasInheritDoc___spec__1___closed__1;
x_3 = l_Lean_Linter_MissingDocs_declModifiersPubNoDoc___closed__1;
x_4 = l_Lean_Linter_MissingDocs_declModifiersPubNoDoc___closed__2;
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
LEAN_EXPORT uint8_t l_Lean_Linter_MissingDocs_declModifiersPubNoDoc(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; 
x_2 = lean_unsigned_to_nat(2u);
x_3 = l_Lean_Syntax_getArg(x_1, x_2);
x_4 = lean_unsigned_to_nat(0u);
x_5 = l_Lean_Syntax_getArg(x_3, x_4);
lean_dec(x_3);
x_6 = l_Lean_Syntax_getKind(x_5);
x_7 = l_Lean_Linter_MissingDocs_declModifiersPubNoDoc___closed__3;
x_8 = lean_name_eq(x_6, x_7);
lean_dec(x_6);
if (x_8 == 0)
{
lean_object* x_9; uint8_t x_10; 
x_9 = l_Lean_Syntax_getArg(x_1, x_4);
x_10 = l_Lean_Syntax_isNone(x_9);
lean_dec(x_9);
if (x_10 == 0)
{
uint8_t x_11; 
x_11 = 0;
return x_11;
}
else
{
lean_object* x_12; lean_object* x_13; uint8_t x_14; 
x_12 = lean_unsigned_to_nat(1u);
x_13 = l_Lean_Syntax_getArg(x_1, x_12);
x_14 = l_Lean_Linter_MissingDocs_hasInheritDoc(x_13);
lean_dec(x_13);
if (x_14 == 0)
{
uint8_t x_15; 
x_15 = 1;
return x_15;
}
else
{
uint8_t x_16; 
x_16 = 0;
return x_16;
}
}
}
else
{
uint8_t x_17; 
x_17 = 0;
return x_17;
}
}
}
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_declModifiersPubNoDoc___boxed(lean_object* x_1) {
_start:
{
uint8_t x_2; lean_object* x_3; 
x_2 = l_Lean_Linter_MissingDocs_declModifiersPubNoDoc(x_1);
lean_dec(x_1);
x_3 = lean_box(x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Linter_MissingDocs_lintDeclHead___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("abbrev", 6, 6);
return x_1;
}
}
static lean_object* _init_l_Lean_Linter_MissingDocs_lintDeclHead___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l_Lean_Linter_initFn____x40_Lean_Linter_MissingDocs___hyg_8____closed__7;
x_2 = l_Array_anyMUnsafe_any___at_Lean_Linter_MissingDocs_hasInheritDoc___spec__1___closed__1;
x_3 = l_Lean_Linter_MissingDocs_declModifiersPubNoDoc___closed__1;
x_4 = l_Lean_Linter_MissingDocs_lintDeclHead___closed__1;
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
static lean_object* _init_l_Lean_Linter_MissingDocs_lintDeclHead___closed__3() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("definition", 10, 10);
return x_1;
}
}
static lean_object* _init_l_Lean_Linter_MissingDocs_lintDeclHead___closed__4() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l_Lean_Linter_initFn____x40_Lean_Linter_MissingDocs___hyg_8____closed__7;
x_2 = l_Array_anyMUnsafe_any___at_Lean_Linter_MissingDocs_hasInheritDoc___spec__1___closed__1;
x_3 = l_Lean_Linter_MissingDocs_declModifiersPubNoDoc___closed__1;
x_4 = l_Lean_Linter_MissingDocs_lintDeclHead___closed__3;
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
static lean_object* _init_l_Lean_Linter_MissingDocs_lintDeclHead___closed__5() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("opaque", 6, 6);
return x_1;
}
}
static lean_object* _init_l_Lean_Linter_MissingDocs_lintDeclHead___closed__6() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l_Lean_Linter_initFn____x40_Lean_Linter_MissingDocs___hyg_8____closed__7;
x_2 = l_Array_anyMUnsafe_any___at_Lean_Linter_MissingDocs_hasInheritDoc___spec__1___closed__1;
x_3 = l_Lean_Linter_MissingDocs_declModifiersPubNoDoc___closed__1;
x_4 = l_Lean_Linter_MissingDocs_lintDeclHead___closed__5;
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
static lean_object* _init_l_Lean_Linter_MissingDocs_lintDeclHead___closed__7() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("axiom", 5, 5);
return x_1;
}
}
static lean_object* _init_l_Lean_Linter_MissingDocs_lintDeclHead___closed__8() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l_Lean_Linter_initFn____x40_Lean_Linter_MissingDocs___hyg_8____closed__7;
x_2 = l_Array_anyMUnsafe_any___at_Lean_Linter_MissingDocs_hasInheritDoc___spec__1___closed__1;
x_3 = l_Lean_Linter_MissingDocs_declModifiersPubNoDoc___closed__1;
x_4 = l_Lean_Linter_MissingDocs_lintDeclHead___closed__7;
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
static lean_object* _init_l_Lean_Linter_MissingDocs_lintDeclHead___closed__9() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("inductive", 9, 9);
return x_1;
}
}
static lean_object* _init_l_Lean_Linter_MissingDocs_lintDeclHead___closed__10() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l_Lean_Linter_initFn____x40_Lean_Linter_MissingDocs___hyg_8____closed__7;
x_2 = l_Array_anyMUnsafe_any___at_Lean_Linter_MissingDocs_hasInheritDoc___spec__1___closed__1;
x_3 = l_Lean_Linter_MissingDocs_declModifiersPubNoDoc___closed__1;
x_4 = l_Lean_Linter_MissingDocs_lintDeclHead___closed__9;
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
static lean_object* _init_l_Lean_Linter_MissingDocs_lintDeclHead___closed__11() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("classInductive", 14, 14);
return x_1;
}
}
static lean_object* _init_l_Lean_Linter_MissingDocs_lintDeclHead___closed__12() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l_Lean_Linter_initFn____x40_Lean_Linter_MissingDocs___hyg_8____closed__7;
x_2 = l_Array_anyMUnsafe_any___at_Lean_Linter_MissingDocs_hasInheritDoc___spec__1___closed__1;
x_3 = l_Lean_Linter_MissingDocs_declModifiersPubNoDoc___closed__1;
x_4 = l_Lean_Linter_MissingDocs_lintDeclHead___closed__11;
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
static lean_object* _init_l_Lean_Linter_MissingDocs_lintDeclHead___closed__13() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("structure", 9, 9);
return x_1;
}
}
static lean_object* _init_l_Lean_Linter_MissingDocs_lintDeclHead___closed__14() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l_Lean_Linter_initFn____x40_Lean_Linter_MissingDocs___hyg_8____closed__7;
x_2 = l_Array_anyMUnsafe_any___at_Lean_Linter_MissingDocs_hasInheritDoc___spec__1___closed__1;
x_3 = l_Lean_Linter_MissingDocs_declModifiersPubNoDoc___closed__1;
x_4 = l_Lean_Linter_MissingDocs_lintDeclHead___closed__13;
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
static lean_object* _init_l_Lean_Linter_MissingDocs_lintDeclHead___closed__15() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("public structure", 16, 16);
return x_1;
}
}
static lean_object* _init_l_Lean_Linter_MissingDocs_lintDeclHead___closed__16() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("public inductive", 16, 16);
return x_1;
}
}
static lean_object* _init_l_Lean_Linter_MissingDocs_lintDeclHead___closed__17() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("public axiom", 12, 12);
return x_1;
}
}
static lean_object* _init_l_Lean_Linter_MissingDocs_lintDeclHead___closed__18() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("public opaque", 13, 13);
return x_1;
}
}
static lean_object* _init_l_Lean_Linter_MissingDocs_lintDeclHead___closed__19() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("public def", 10, 10);
return x_1;
}
}
static lean_object* _init_l_Lean_Linter_MissingDocs_lintDeclHead___closed__20() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("public abbrev", 13, 13);
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_lintDeclHead(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
lean_object* x_6; uint8_t x_7; 
x_6 = l_Lean_Linter_MissingDocs_lintDeclHead___closed__2;
x_7 = lean_name_eq(x_1, x_6);
if (x_7 == 0)
{
lean_object* x_8; uint8_t x_9; 
x_8 = l_Lean_Linter_MissingDocs_lintDeclHead___closed__4;
x_9 = lean_name_eq(x_1, x_8);
if (x_9 == 0)
{
lean_object* x_10; uint8_t x_11; 
x_10 = l_Lean_Linter_MissingDocs_lintDeclHead___closed__6;
x_11 = lean_name_eq(x_1, x_10);
if (x_11 == 0)
{
lean_object* x_12; uint8_t x_13; 
x_12 = l_Lean_Linter_MissingDocs_lintDeclHead___closed__8;
x_13 = lean_name_eq(x_1, x_12);
if (x_13 == 0)
{
lean_object* x_14; uint8_t x_15; 
x_14 = l_Lean_Linter_MissingDocs_lintDeclHead___closed__10;
x_15 = lean_name_eq(x_1, x_14);
if (x_15 == 0)
{
lean_object* x_16; uint8_t x_17; 
x_16 = l_Lean_Linter_MissingDocs_lintDeclHead___closed__12;
x_17 = lean_name_eq(x_1, x_16);
if (x_17 == 0)
{
lean_object* x_18; uint8_t x_19; 
x_18 = l_Lean_Linter_MissingDocs_lintDeclHead___closed__14;
x_19 = lean_name_eq(x_1, x_18);
if (x_19 == 0)
{
lean_object* x_20; lean_object* x_21; 
lean_dec(x_3);
x_20 = lean_box(0);
x_21 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_21, 0, x_20);
lean_ctor_set(x_21, 1, x_5);
return x_21;
}
else
{
lean_object* x_22; lean_object* x_23; 
x_22 = l_Lean_Linter_MissingDocs_lintDeclHead___closed__15;
x_23 = l_Lean_Linter_MissingDocs_lintNamed(x_2, x_22, x_3, x_4, x_5);
return x_23;
}
}
else
{
lean_object* x_24; lean_object* x_25; 
x_24 = l_Lean_Linter_MissingDocs_lintDeclHead___closed__16;
x_25 = l_Lean_Linter_MissingDocs_lintNamed(x_2, x_24, x_3, x_4, x_5);
return x_25;
}
}
else
{
lean_object* x_26; lean_object* x_27; 
x_26 = l_Lean_Linter_MissingDocs_lintDeclHead___closed__16;
x_27 = l_Lean_Linter_MissingDocs_lintNamed(x_2, x_26, x_3, x_4, x_5);
return x_27;
}
}
else
{
lean_object* x_28; lean_object* x_29; 
x_28 = l_Lean_Linter_MissingDocs_lintDeclHead___closed__17;
x_29 = l_Lean_Linter_MissingDocs_lintNamed(x_2, x_28, x_3, x_4, x_5);
return x_29;
}
}
else
{
lean_object* x_30; lean_object* x_31; 
x_30 = l_Lean_Linter_MissingDocs_lintDeclHead___closed__18;
x_31 = l_Lean_Linter_MissingDocs_lintNamed(x_2, x_30, x_3, x_4, x_5);
return x_31;
}
}
else
{
lean_object* x_32; lean_object* x_33; 
x_32 = l_Lean_Linter_MissingDocs_lintDeclHead___closed__19;
x_33 = l_Lean_Linter_MissingDocs_lintNamed(x_2, x_32, x_3, x_4, x_5);
return x_33;
}
}
else
{
lean_object* x_34; lean_object* x_35; 
x_34 = l_Lean_Linter_MissingDocs_lintDeclHead___closed__20;
x_35 = l_Lean_Linter_MissingDocs_lintNamed(x_2, x_34, x_3, x_4, x_5);
return x_35;
}
}
}
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_lintDeclHead___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
lean_object* x_6; 
x_6 = l_Lean_Linter_MissingDocs_lintDeclHead(x_1, x_2, x_3, x_4, x_5);
lean_dec(x_4);
lean_dec(x_2);
lean_dec(x_1);
return x_6;
}
}
static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Linter_MissingDocs_checkDecl___spec__1___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("public constructor", 18, 18);
return x_1;
}
}
LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Linter_MissingDocs_checkDecl___spec__1(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) {
_start:
{
uint8_t x_9; 
x_9 = lean_usize_dec_lt(x_4, x_3);
if (x_9 == 0)
{
lean_object* x_10; 
lean_dec(x_6);
x_10 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_10, 0, x_5);
lean_ctor_set(x_10, 1, x_8);
return x_10;
}
else
{
lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; 
lean_dec(x_5);
x_11 = lean_array_uget(x_2, x_4);
x_12 = lean_unsigned_to_nat(2u);
x_13 = l_Lean_Syntax_getArg(x_11, x_12);
x_14 = lean_unsigned_to_nat(0u);
x_15 = l_Lean_Syntax_getArg(x_11, x_14);
x_16 = l_Lean_Syntax_isNone(x_15);
lean_dec(x_15);
if (x_16 == 0)
{
size_t x_17; size_t x_18; lean_object* x_19; 
lean_dec(x_13);
lean_dec(x_11);
x_17 = 1;
x_18 = lean_usize_add(x_4, x_17);
x_19 = lean_box(0);
x_4 = x_18;
x_5 = x_19;
goto _start;
}
else
{
uint8_t x_21; 
x_21 = l_Lean_Linter_MissingDocs_declModifiersPubNoDoc(x_13);
lean_dec(x_13);
if (x_21 == 0)
{
size_t x_22; size_t x_23; lean_object* x_24; 
lean_dec(x_11);
x_22 = 1;
x_23 = lean_usize_add(x_4, x_22);
x_24 = lean_box(0);
x_4 = x_23;
x_5 = x_24;
goto _start;
}
else
{
lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; size_t x_34; size_t x_35; lean_object* x_36; 
x_26 = lean_unsigned_to_nat(1u);
x_27 = l_Lean_Syntax_getArg(x_1, x_26);
x_28 = l_Lean_Syntax_getArg(x_27, x_14);
lean_dec(x_27);
x_29 = lean_unsigned_to_nat(3u);
x_30 = l_Lean_Syntax_getArg(x_11, x_29);
lean_dec(x_11);
x_31 = l_Array_forInUnsafe_loop___at_Lean_Linter_MissingDocs_checkDecl___spec__1___closed__1;
lean_inc(x_6);
x_32 = l_Lean_Linter_MissingDocs_lintField(x_28, x_30, x_31, x_6, x_7, x_8);
lean_dec(x_30);
lean_dec(x_28);
x_33 = lean_ctor_get(x_32, 1);
lean_inc(x_33);
lean_dec(x_32);
x_34 = 1;
x_35 = lean_usize_add(x_4, x_34);
x_36 = lean_box(0);
x_4 = x_35;
x_5 = x_36;
x_8 = x_33;
goto _start;
}
}
}
}
}
static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Linter_MissingDocs_checkDecl___spec__2___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("computed field", 14, 14);
return x_1;
}
}
LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Linter_MissingDocs_checkDecl___spec__2(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) {
_start:
{
uint8_t x_9; 
x_9 = lean_usize_dec_lt(x_4, x_3);
if (x_9 == 0)
{
lean_object* x_10; 
lean_dec(x_6);
x_10 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_10, 0, x_5);
lean_ctor_set(x_10, 1, x_8);
return x_10;
}
else
{
lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; 
lean_dec(x_5);
x_11 = lean_array_uget(x_2, x_4);
x_12 = lean_unsigned_to_nat(0u);
x_13 = l_Lean_Syntax_getArg(x_11, x_12);
x_14 = l_Lean_Linter_MissingDocs_declModifiersPubNoDoc(x_13);
lean_dec(x_13);
if (x_14 == 0)
{
size_t x_15; size_t x_16; lean_object* x_17; 
lean_dec(x_11);
x_15 = 1;
x_16 = lean_usize_add(x_4, x_15);
x_17 = lean_box(0);
x_4 = x_16;
x_5 = x_17;
goto _start;
}
else
{
lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; size_t x_26; size_t x_27; lean_object* x_28; 
x_19 = lean_unsigned_to_nat(1u);
x_20 = l_Lean_Syntax_getArg(x_1, x_19);
x_21 = l_Lean_Syntax_getArg(x_20, x_12);
lean_dec(x_20);
x_22 = l_Lean_Syntax_getArg(x_11, x_19);
lean_dec(x_11);
x_23 = l_Array_forInUnsafe_loop___at_Lean_Linter_MissingDocs_checkDecl___spec__2___closed__1;
lean_inc(x_6);
x_24 = l_Lean_Linter_MissingDocs_lintField(x_21, x_22, x_23, x_6, x_7, x_8);
lean_dec(x_22);
lean_dec(x_21);
x_25 = lean_ctor_get(x_24, 1);
lean_inc(x_25);
lean_dec(x_24);
x_26 = 1;
x_27 = lean_usize_add(x_4, x_26);
x_28 = lean_box(0);
x_4 = x_27;
x_5 = x_28;
x_8 = x_25;
goto _start;
}
}
}
}
LEAN_EXPORT uint8_t l_List_elem___at_Lean_Linter_MissingDocs_checkDecl___spec__4(lean_object* x_1, lean_object* x_2) {
_start:
{
if (lean_obj_tag(x_2) == 0)
{
uint8_t x_3; 
x_3 = 0;
return x_3;
}
else
{
lean_object* x_4; lean_object* x_5; uint8_t x_6; 
x_4 = lean_ctor_get(x_2, 0);
x_5 = lean_ctor_get(x_2, 1);
x_6 = lean_nat_dec_eq(x_1, x_4);
if (x_6 == 0)
{
x_2 = x_5;
goto _start;
}
else
{
uint8_t x_8; 
x_8 = 1;
return x_8;
}
}
}
}
LEAN_EXPORT lean_object* l_List_foldl___at_Lean_Linter_MissingDocs_checkDecl___spec__7(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
if (lean_obj_tag(x_3) == 0)
{
lean_dec(x_1);
return x_2;
}
else
{
uint8_t x_4; 
x_4 = !lean_is_exclusive(x_3);
if (x_4 == 0)
{
lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; uint64_t x_9; size_t x_10; lean_object* x_11; lean_object* x_12; 
x_5 = lean_ctor_get(x_3, 0);
x_6 = lean_ctor_get(x_3, 1);
x_7 = lean_array_get_size(x_2);
lean_inc(x_1);
lean_inc(x_5);
x_8 = lean_apply_1(x_1, x_5);
x_9 = lean_unbox_uint64(x_8);
lean_dec(x_8);
x_10 = lean_hashset_mk_idx(x_7, x_9);
x_11 = lean_array_uget(x_2, x_10);
lean_ctor_set(x_3, 1, x_11);
x_12 = lean_array_uset(x_2, x_10, x_3);
x_2 = x_12;
x_3 = x_6;
goto _start;
}
else
{
lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint64_t x_18; size_t x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; 
x_14 = lean_ctor_get(x_3, 0);
x_15 = lean_ctor_get(x_3, 1);
lean_inc(x_15);
lean_inc(x_14);
lean_dec(x_3);
x_16 = lean_array_get_size(x_2);
lean_inc(x_1);
lean_inc(x_14);
x_17 = lean_apply_1(x_1, x_14);
x_18 = lean_unbox_uint64(x_17);
lean_dec(x_17);
x_19 = lean_hashset_mk_idx(x_16, x_18);
x_20 = lean_array_uget(x_2, x_19);
x_21 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_21, 0, x_14);
lean_ctor_set(x_21, 1, x_20);
x_22 = lean_array_uset(x_2, x_19, x_21);
x_2 = x_22;
x_3 = x_15;
goto _start;
}
}
}
}
LEAN_EXPORT lean_object* l_List_foldl___at_Lean_Linter_MissingDocs_checkDecl___spec__7___at_Lean_Linter_MissingDocs_checkDecl___spec__8(lean_object* x_1, lean_object* x_2) {
_start:
{
if (lean_obj_tag(x_2) == 0)
{
return x_1;
}
else
{
uint8_t x_3; 
x_3 = !lean_is_exclusive(x_2);
if (x_3 == 0)
{
lean_object* x_4; lean_object* x_5; lean_object* x_6; uint64_t x_7; size_t x_8; lean_object* x_9; lean_object* x_10; 
x_4 = lean_ctor_get(x_2, 0);
x_5 = lean_ctor_get(x_2, 1);
x_6 = lean_array_get_size(x_1);
x_7 = lean_uint64_of_nat(x_4);
x_8 = lean_hashset_mk_idx(x_6, x_7);
x_9 = lean_array_uget(x_1, x_8);
lean_ctor_set(x_2, 1, x_9);
x_10 = lean_array_uset(x_1, x_8, x_2);
x_1 = x_10;
x_2 = x_5;
goto _start;
}
else
{
lean_object* x_12; lean_object* x_13; lean_object* x_14; uint64_t x_15; size_t x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; 
x_12 = lean_ctor_get(x_2, 0);
x_13 = lean_ctor_get(x_2, 1);
lean_inc(x_13);
lean_inc(x_12);
lean_dec(x_2);
x_14 = lean_array_get_size(x_1);
x_15 = lean_uint64_of_nat(x_12);
x_16 = lean_hashset_mk_idx(x_14, x_15);
x_17 = lean_array_uget(x_1, x_16);
x_18 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_18, 0, x_12);
lean_ctor_set(x_18, 1, x_17);
x_19 = lean_array_uset(x_1, x_16, x_18);
x_1 = x_19;
x_2 = x_13;
goto _start;
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_HashSetImp_moveEntries___at_Lean_Linter_MissingDocs_checkDecl___spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; uint8_t x_5; 
x_4 = lean_array_get_size(x_2);
x_5 = lean_nat_dec_lt(x_1, x_4);
lean_dec(x_4);
if (x_5 == 0)
{
lean_dec(x_2);
lean_dec(x_1);
return x_3;
}
else
{
lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; 
x_6 = lean_array_fget(x_2, x_1);
x_7 = lean_box(0);
x_8 = lean_array_fset(x_2, x_1, x_7);
x_9 = l_List_foldl___at_Lean_Linter_MissingDocs_checkDecl___spec__7___at_Lean_Linter_MissingDocs_checkDecl___spec__8(x_3, x_6);
x_10 = lean_unsigned_to_nat(1u);
x_11 = lean_nat_add(x_1, x_10);
lean_dec(x_1);
x_1 = x_11;
x_2 = x_8;
x_3 = x_9;
goto _start;
}
}
}
LEAN_EXPORT lean_object* l_Lean_HashSetImp_expand___at_Lean_Linter_MissingDocs_checkDecl___spec__5(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; 
x_3 = lean_array_get_size(x_2);
x_4 = lean_unsigned_to_nat(2u);
x_5 = lean_nat_mul(x_3, x_4);
lean_dec(x_3);
x_6 = lean_box(0);
x_7 = lean_mk_array(x_5, x_6);
x_8 = lean_unsigned_to_nat(0u);
x_9 = l_Lean_HashSetImp_moveEntries___at_Lean_Linter_MissingDocs_checkDecl___spec__6(x_8, x_2, x_7);
x_10 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_10, 0, x_1);
lean_ctor_set(x_10, 1, x_9);
return x_10;
}
}
LEAN_EXPORT lean_object* l_List_replace___at_Lean_Linter_MissingDocs_checkDecl___spec__9(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
if (lean_obj_tag(x_1) == 0)
{
lean_object* x_4; 
lean_dec(x_3);
x_4 = lean_box(0);
return x_4;
}
else
{
uint8_t x_5; 
x_5 = !lean_is_exclusive(x_1);
if (x_5 == 0)
{
lean_object* x_6; lean_object* x_7; uint8_t x_8; 
x_6 = lean_ctor_get(x_1, 0);
x_7 = lean_ctor_get(x_1, 1);
x_8 = lean_nat_dec_eq(x_2, x_6);
if (x_8 == 0)
{
lean_object* x_9; 
x_9 = l_List_replace___at_Lean_Linter_MissingDocs_checkDecl___spec__9(x_7, x_2, x_3);
lean_ctor_set(x_1, 1, x_9);
return x_1;
}
else
{
lean_dec(x_6);
lean_ctor_set(x_1, 0, x_3);
return x_1;
}
}
else
{
lean_object* x_10; lean_object* x_11; uint8_t x_12; 
x_10 = lean_ctor_get(x_1, 0);
x_11 = lean_ctor_get(x_1, 1);
lean_inc(x_11);
lean_inc(x_10);
lean_dec(x_1);
x_12 = lean_nat_dec_eq(x_2, x_10);
if (x_12 == 0)
{
lean_object* x_13; lean_object* x_14; 
x_13 = l_List_replace___at_Lean_Linter_MissingDocs_checkDecl___spec__9(x_11, x_2, x_3);
x_14 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_14, 0, x_10);
lean_ctor_set(x_14, 1, x_13);
return x_14;
}
else
{
lean_object* x_15; 
lean_dec(x_10);
x_15 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_15, 0, x_3);
lean_ctor_set(x_15, 1, x_11);
return x_15;
}
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_HashSetImp_insert___at_Lean_Linter_MissingDocs_checkDecl___spec__3(lean_object* x_1, lean_object* x_2) {
_start:
{
uint8_t x_3; 
x_3 = !lean_is_exclusive(x_1);
if (x_3 == 0)
{
lean_object* x_4; lean_object* x_5; lean_object* x_6; uint64_t x_7; size_t x_8; lean_object* x_9; uint8_t x_10; 
x_4 = lean_ctor_get(x_1, 0);
x_5 = lean_ctor_get(x_1, 1);
x_6 = lean_array_get_size(x_5);
x_7 = lean_uint64_of_nat(x_2);
lean_inc(x_6);
x_8 = lean_hashset_mk_idx(x_6, x_7);
x_9 = lean_array_uget(x_5, x_8);
x_10 = l_List_elem___at_Lean_Linter_MissingDocs_checkDecl___spec__4(x_2, x_9);
if (x_10 == 0)
{
lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; 
x_11 = lean_unsigned_to_nat(1u);
x_12 = lean_nat_add(x_4, x_11);
lean_dec(x_4);
x_13 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_13, 0, x_2);
lean_ctor_set(x_13, 1, x_9);
x_14 = lean_array_uset(x_5, x_8, x_13);
x_15 = lean_nat_dec_le(x_12, x_6);
lean_dec(x_6);
if (x_15 == 0)
{
lean_object* x_16; 
lean_free_object(x_1);
x_16 = l_Lean_HashSetImp_expand___at_Lean_Linter_MissingDocs_checkDecl___spec__5(x_12, x_14);
return x_16;
}
else
{
lean_ctor_set(x_1, 1, x_14);
lean_ctor_set(x_1, 0, x_12);
return x_1;
}
}
else
{
lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; 
lean_dec(x_6);
x_17 = lean_box(0);
x_18 = lean_array_uset(x_5, x_8, x_17);
lean_inc(x_2);
x_19 = l_List_replace___at_Lean_Linter_MissingDocs_checkDecl___spec__9(x_9, x_2, x_2);
lean_dec(x_2);
x_20 = lean_array_uset(x_18, x_8, x_19);
lean_ctor_set(x_1, 1, x_20);
return x_1;
}
}
else
{
lean_object* x_21; lean_object* x_22; lean_object* x_23; uint64_t x_24; size_t x_25; lean_object* x_26; uint8_t x_27; 
x_21 = lean_ctor_get(x_1, 0);
x_22 = lean_ctor_get(x_1, 1);
lean_inc(x_22);
lean_inc(x_21);
lean_dec(x_1);
x_23 = lean_array_get_size(x_22);
x_24 = lean_uint64_of_nat(x_2);
lean_inc(x_23);
x_25 = lean_hashset_mk_idx(x_23, x_24);
x_26 = lean_array_uget(x_22, x_25);
x_27 = l_List_elem___at_Lean_Linter_MissingDocs_checkDecl___spec__4(x_2, x_26);
if (x_27 == 0)
{
lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; 
x_28 = lean_unsigned_to_nat(1u);
x_29 = lean_nat_add(x_21, x_28);
lean_dec(x_21);
x_30 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_30, 0, x_2);
lean_ctor_set(x_30, 1, x_26);
x_31 = lean_array_uset(x_22, x_25, x_30);
x_32 = lean_nat_dec_le(x_29, x_23);
lean_dec(x_23);
if (x_32 == 0)
{
lean_object* x_33; 
x_33 = l_Lean_HashSetImp_expand___at_Lean_Linter_MissingDocs_checkDecl___spec__5(x_29, x_31);
return x_33;
}
else
{
lean_object* x_34; 
x_34 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_34, 0, x_29);
lean_ctor_set(x_34, 1, x_31);
return x_34;
}
}
else
{
lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; 
lean_dec(x_23);
x_35 = lean_box(0);
x_36 = lean_array_uset(x_22, x_25, x_35);
lean_inc(x_2);
x_37 = l_List_replace___at_Lean_Linter_MissingDocs_checkDecl___spec__9(x_26, x_2, x_2);
lean_dec(x_2);
x_38 = lean_array_uset(x_36, x_25, x_37);
x_39 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_39, 0, x_21);
lean_ctor_set(x_39, 1, x_38);
return x_39;
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_mkHashSet___at_Lean_Linter_MissingDocs_checkDecl___spec__10(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = l_Lean_mkHashSetImp___rarg(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Linter_MissingDocs_checkDecl___spec__14(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) {
_start:
{
uint8_t x_5; 
x_5 = lean_usize_dec_eq(x_2, x_3);
if (x_5 == 0)
{
lean_object* x_6; lean_object* x_7; size_t x_8; size_t x_9; 
x_6 = lean_array_uget(x_1, x_2);
x_7 = l___private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlMAux___at_Lean_Linter_MissingDocs_checkDecl___spec__13(x_6, x_4);
lean_dec(x_6);
x_8 = 1;
x_9 = lean_usize_add(x_2, x_8);
x_2 = x_9;
x_4 = x_7;
goto _start;
}
else
{
return x_4;
}
}
}
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Linter_MissingDocs_checkDecl___spec__15___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
if (lean_obj_tag(x_2) == 10)
{
lean_object* x_4; uint8_t x_5; lean_object* x_6; 
x_4 = lean_ctor_get(x_2, 0);
x_5 = 0;
x_6 = l_Lean_Syntax_getRange_x3f(x_4, x_5);
if (lean_obj_tag(x_6) == 0)
{
return x_3;
}
else
{
lean_object* x_7; lean_object* x_8; lean_object* x_9; 
x_7 = lean_ctor_get(x_6, 0);
lean_inc(x_7);
lean_dec(x_6);
x_8 = lean_ctor_get(x_7, 0);
lean_inc(x_8);
lean_dec(x_7);
x_9 = l_Lean_HashSetImp_insert___at_Lean_Linter_MissingDocs_checkDecl___spec__3(x_3, x_8);
return x_9;
}
}
else
{
return x_3;
}
}
}
static lean_object* _init_l_Array_foldlMUnsafe_fold___at_Lean_Linter_MissingDocs_checkDecl___spec__15___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Array_foldlMUnsafe_fold___at_Lean_Linter_MissingDocs_checkDecl___spec__15___lambda__1___boxed), 3, 0);
return x_1;
}
}
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Linter_MissingDocs_checkDecl___spec__15(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) {
_start:
{
uint8_t x_5; 
x_5 = lean_usize_dec_eq(x_2, x_3);
if (x_5 == 0)
{
lean_object* x_6; lean_object* x_7; lean_object* x_8; size_t x_9; size_t x_10; 
x_6 = lean_array_uget(x_1, x_2);
x_7 = l_Array_foldlMUnsafe_fold___at_Lean_Linter_MissingDocs_checkDecl___spec__15___closed__1;
x_8 = l_Lean_Elab_InfoTree_foldInfo___rarg(x_7, x_4, x_6);
x_9 = 1;
x_10 = lean_usize_add(x_2, x_9);
x_2 = x_10;
x_4 = x_8;
goto _start;
}
else
{
return x_4;
}
}
}
LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlMAux___at_Lean_Linter_MissingDocs_checkDecl___spec__13(lean_object* x_1, lean_object* x_2) {
_start:
{
if (lean_obj_tag(x_1) == 0)
{
lean_object* x_3; lean_object* x_4; lean_object* x_5; uint8_t x_6; 
x_3 = lean_ctor_get(x_1, 0);
x_4 = lean_array_get_size(x_3);
x_5 = lean_unsigned_to_nat(0u);
x_6 = lean_nat_dec_lt(x_5, x_4);
if (x_6 == 0)
{
lean_dec(x_4);
return x_2;
}
else
{
uint8_t x_7; 
x_7 = lean_nat_dec_le(x_4, x_4);
if (x_7 == 0)
{
lean_dec(x_4);
return x_2;
}
else
{
size_t x_8; size_t x_9; lean_object* x_10; 
x_8 = 0;
x_9 = lean_usize_of_nat(x_4);
lean_dec(x_4);
x_10 = l_Array_foldlMUnsafe_fold___at_Lean_Linter_MissingDocs_checkDecl___spec__14(x_3, x_8, x_9, x_2);
return x_10;
}
}
}
else
{
lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; 
x_11 = lean_ctor_get(x_1, 0);
x_12 = lean_array_get_size(x_11);
x_13 = lean_unsigned_to_nat(0u);
x_14 = lean_nat_dec_lt(x_13, x_12);
if (x_14 == 0)
{
lean_dec(x_12);
return x_2;
}
else
{
uint8_t x_15; 
x_15 = lean_nat_dec_le(x_12, x_12);
if (x_15 == 0)
{
lean_dec(x_12);
return x_2;
}
else
{
size_t x_16; size_t x_17; lean_object* x_18; 
x_16 = 0;
x_17 = lean_usize_of_nat(x_12);
lean_dec(x_12);
x_18 = l_Array_foldlMUnsafe_fold___at_Lean_Linter_MissingDocs_checkDecl___spec__15(x_11, x_16, x_17, x_2);
return x_18;
}
}
}
}
}
static lean_object* _init_l___private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlFromMAux___at_Lean_Linter_MissingDocs_checkDecl___spec__12___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_instInhabitedPersistentArrayNode(lean_box(0));
return x_1;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlFromMAux___at_Lean_Linter_MissingDocs_checkDecl___spec__12(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) {
_start:
{
if (lean_obj_tag(x_1) == 0)
{
lean_object* x_5; size_t x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; size_t x_10; size_t x_11; size_t x_12; size_t x_13; size_t x_14; size_t x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; 
x_5 = lean_ctor_get(x_1, 0);
x_6 = lean_usize_shift_right(x_2, x_3);
x_7 = lean_usize_to_nat(x_6);
x_8 = l___private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlFromMAux___at_Lean_Linter_MissingDocs_checkDecl___spec__12___closed__1;
x_9 = lean_array_get(x_8, x_5, x_7);
x_10 = 1;
x_11 = lean_usize_shift_left(x_10, x_3);
x_12 = lean_usize_sub(x_11, x_10);
x_13 = lean_usize_land(x_2, x_12);
x_14 = 5;
x_15 = lean_usize_sub(x_3, x_14);
x_16 = l___private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlFromMAux___at_Lean_Linter_MissingDocs_checkDecl___spec__12(x_9, x_13, x_15, x_4);
lean_dec(x_9);
x_17 = lean_unsigned_to_nat(1u);
x_18 = lean_nat_add(x_7, x_17);
lean_dec(x_7);
x_19 = lean_array_get_size(x_5);
x_20 = lean_nat_dec_lt(x_18, x_19);
if (x_20 == 0)
{
lean_dec(x_19);
lean_dec(x_18);
return x_16;
}
else
{
uint8_t x_21; 
x_21 = lean_nat_dec_le(x_19, x_19);
if (x_21 == 0)
{
lean_dec(x_19);
lean_dec(x_18);
return x_16;
}
else
{
size_t x_22; size_t x_23; lean_object* x_24; 
x_22 = lean_usize_of_nat(x_18);
lean_dec(x_18);
x_23 = lean_usize_of_nat(x_19);
lean_dec(x_19);
x_24 = l_Array_foldlMUnsafe_fold___at_Lean_Linter_MissingDocs_checkDecl___spec__14(x_5, x_22, x_23, x_16);
return x_24;
}
}
}
else
{
lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; 
x_25 = lean_ctor_get(x_1, 0);
x_26 = lean_usize_to_nat(x_2);
x_27 = lean_array_get_size(x_25);
x_28 = lean_nat_dec_lt(x_26, x_27);
if (x_28 == 0)
{
lean_dec(x_27);
lean_dec(x_26);
return x_4;
}
else
{
uint8_t x_29; 
x_29 = lean_nat_dec_le(x_27, x_27);
if (x_29 == 0)
{
lean_dec(x_27);
lean_dec(x_26);
return x_4;
}
else
{
size_t x_30; size_t x_31; lean_object* x_32; 
x_30 = lean_usize_of_nat(x_26);
lean_dec(x_26);
x_31 = lean_usize_of_nat(x_27);
lean_dec(x_27);
x_32 = l_Array_foldlMUnsafe_fold___at_Lean_Linter_MissingDocs_checkDecl___spec__15(x_25, x_30, x_31, x_4);
return x_32;
}
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_PersistentArray_foldlM___at_Lean_Linter_MissingDocs_checkDecl___spec__11(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; uint8_t x_5; 
x_4 = lean_unsigned_to_nat(0u);
x_5 = lean_nat_dec_eq(x_3, x_4);
if (x_5 == 0)
{
lean_object* x_6; uint8_t x_7; 
x_6 = lean_ctor_get(x_1, 3);
x_7 = lean_nat_dec_le(x_6, x_3);
if (x_7 == 0)
{
lean_object* x_8; size_t x_9; size_t x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; 
x_8 = lean_ctor_get(x_1, 0);
x_9 = lean_usize_of_nat(x_3);
x_10 = lean_ctor_get_usize(x_1, 4);
x_11 = l___private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlFromMAux___at_Lean_Linter_MissingDocs_checkDecl___spec__12(x_8, x_9, x_10, x_2);
x_12 = lean_ctor_get(x_1, 1);
x_13 = lean_array_get_size(x_12);
x_14 = lean_nat_dec_lt(x_4, x_13);
if (x_14 == 0)
{
lean_dec(x_13);
return x_11;
}
else
{
uint8_t x_15; 
x_15 = lean_nat_dec_le(x_13, x_13);
if (x_15 == 0)
{
lean_dec(x_13);
return x_11;
}
else
{
size_t x_16; size_t x_17; lean_object* x_18; 
x_16 = 0;
x_17 = lean_usize_of_nat(x_13);
lean_dec(x_13);
x_18 = l_Array_foldlMUnsafe_fold___at_Lean_Linter_MissingDocs_checkDecl___spec__15(x_12, x_16, x_17, x_11);
return x_18;
}
}
}
else
{
lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; 
x_19 = lean_ctor_get(x_1, 1);
x_20 = lean_nat_sub(x_3, x_6);
x_21 = lean_array_get_size(x_19);
x_22 = lean_nat_dec_lt(x_20, x_21);
if (x_22 == 0)
{
lean_dec(x_21);
lean_dec(x_20);
return x_2;
}
else
{
uint8_t x_23; 
x_23 = lean_nat_dec_le(x_21, x_21);
if (x_23 == 0)
{
lean_dec(x_21);
lean_dec(x_20);
return x_2;
}
else
{
size_t x_24; size_t x_25; lean_object* x_26; 
x_24 = lean_usize_of_nat(x_20);
lean_dec(x_20);
x_25 = lean_usize_of_nat(x_21);
lean_dec(x_21);
x_26 = l_Array_foldlMUnsafe_fold___at_Lean_Linter_MissingDocs_checkDecl___spec__15(x_19, x_24, x_25, x_2);
return x_26;
}
}
}
}
else
{
lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; 
x_27 = lean_ctor_get(x_1, 0);
x_28 = l___private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlMAux___at_Lean_Linter_MissingDocs_checkDecl___spec__13(x_27, x_2);
x_29 = lean_ctor_get(x_1, 1);
x_30 = lean_array_get_size(x_29);
x_31 = lean_nat_dec_lt(x_4, x_30);
if (x_31 == 0)
{
lean_dec(x_30);
return x_28;
}
else
{
uint8_t x_32; 
x_32 = lean_nat_dec_le(x_30, x_30);
if (x_32 == 0)
{
lean_dec(x_30);
return x_28;
}
else
{
size_t x_33; size_t x_34; lean_object* x_35; 
x_33 = 0;
x_34 = lean_usize_of_nat(x_30);
lean_dec(x_30);
x_35 = l_Array_foldlMUnsafe_fold___at_Lean_Linter_MissingDocs_checkDecl___spec__15(x_29, x_33, x_34, x_28);
return x_35;
}
}
}
}
}
LEAN_EXPORT uint8_t l_Lean_HashSetImp_contains___at_Lean_Linter_MissingDocs_checkDecl___spec__16(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; lean_object* x_4; uint64_t x_5; size_t x_6; lean_object* x_7; uint8_t x_8; 
x_3 = lean_ctor_get(x_1, 1);
x_4 = lean_array_get_size(x_3);
x_5 = lean_uint64_of_nat(x_2);
x_6 = lean_hashset_mk_idx(x_4, x_5);
x_7 = lean_array_uget(x_3, x_6);
x_8 = l_List_elem___at_Lean_Linter_MissingDocs_checkDecl___spec__4(x_2, x_7);
lean_dec(x_7);
return x_8;
}
}
static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Linter_MissingDocs_checkDecl___spec__17___lambda__1___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("public field", 12, 12);
return x_1;
}
}
LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Linter_MissingDocs_checkDecl___spec__17___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
lean_object* x_7; lean_object* x_8; 
x_7 = l_Array_forInUnsafe_loop___at_Lean_Linter_MissingDocs_checkDecl___spec__17___lambda__1___closed__1;
x_8 = l_Lean_Linter_MissingDocs_lintField(x_1, x_2, x_7, x_4, x_5, x_6);
return x_8;
}
}
LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Linter_MissingDocs_checkDecl___spec__17(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, size_t x_5, size_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) {
_start:
{
uint8_t x_11; 
x_11 = lean_usize_dec_lt(x_6, x_5);
if (x_11 == 0)
{
lean_object* x_12; 
lean_dec(x_8);
x_12 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_12, 0, x_7);
lean_ctor_set(x_12, 1, x_10);
return x_12;
}
else
{
lean_object* x_13; uint8_t x_14; lean_object* x_15; 
lean_dec(x_7);
x_13 = lean_array_uget(x_4, x_6);
x_14 = 0;
x_15 = l_Lean_Syntax_getRange_x3f(x_13, x_14);
if (lean_obj_tag(x_15) == 0)
{
lean_object* x_16; lean_object* x_17; lean_object* x_18; size_t x_19; size_t x_20; lean_object* x_21; 
x_16 = lean_mk_string_unchecked("public field", 12, 12);
lean_inc(x_8);
x_17 = l_Lean_Linter_MissingDocs_lintField(x_3, x_13, x_16, x_8, x_9, x_10);
lean_dec(x_16);
lean_dec(x_13);
x_18 = lean_ctor_get(x_17, 1);
lean_inc(x_18);
lean_dec(x_17);
x_19 = 1;
x_20 = lean_usize_add(x_6, x_19);
x_21 = lean_box(0);
x_6 = x_20;
x_7 = x_21;
x_10 = x_18;
goto _start;
}
else
{
lean_object* x_23; lean_object* x_24; uint8_t x_25; 
x_23 = lean_ctor_get(x_15, 0);
lean_inc(x_23);
lean_dec(x_15);
x_24 = lean_ctor_get(x_23, 0);
lean_inc(x_24);
lean_dec(x_23);
x_25 = l_Lean_HashSetImp_contains___at_Lean_Linter_MissingDocs_checkDecl___spec__16(x_2, x_24);
lean_dec(x_24);
if (x_25 == 0)
{
lean_object* x_26; lean_object* x_27; lean_object* x_28; size_t x_29; size_t x_30; lean_object* x_31; 
x_26 = lean_mk_string_unchecked("public field", 12, 12);
lean_inc(x_8);
x_27 = l_Lean_Linter_MissingDocs_lintField(x_3, x_13, x_26, x_8, x_9, x_10);
lean_dec(x_26);
lean_dec(x_13);
x_28 = lean_ctor_get(x_27, 1);
lean_inc(x_28);
lean_dec(x_27);
x_29 = 1;
x_30 = lean_usize_add(x_6, x_29);
x_31 = lean_box(0);
x_6 = x_30;
x_7 = x_31;
x_10 = x_28;
goto _start;
}
else
{
size_t x_33; size_t x_34; lean_object* x_35; 
lean_dec(x_13);
x_33 = 1;
x_34 = lean_usize_add(x_6, x_33);
x_35 = lean_box(0);
x_6 = x_34;
x_7 = x_35;
goto _start;
}
}
}
}
}
static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Linter_MissingDocs_checkDecl___spec__18___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_box(0);
x_2 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Linter_MissingDocs_checkDecl___spec__18___closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("structSimpleBinder", 18, 18);
return x_1;
}
}
static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Linter_MissingDocs_checkDecl___spec__18___closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l_Lean_Linter_initFn____x40_Lean_Linter_MissingDocs___hyg_8____closed__7;
x_2 = l_Array_anyMUnsafe_any___at_Lean_Linter_MissingDocs_hasInheritDoc___spec__1___closed__1;
x_3 = l_Lean_Linter_MissingDocs_declModifiersPubNoDoc___closed__1;
x_4 = l_Array_forInUnsafe_loop___at_Lean_Linter_MissingDocs_checkDecl___spec__18___closed__2;
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Linter_MissingDocs_checkDecl___spec__18(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, size_t x_5, size_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) {
_start:
{
uint8_t x_11; 
x_11 = lean_usize_dec_lt(x_6, x_5);
if (x_11 == 0)
{
lean_object* x_12; 
lean_dec(x_8);
x_12 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_12, 0, x_7);
lean_ctor_set(x_12, 1, x_10);
return x_12;
}
else
{
lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_21; lean_object* x_22; uint8_t x_23; 
lean_dec(x_7);
x_13 = lean_array_uget(x_4, x_6);
x_21 = lean_unsigned_to_nat(0u);
x_22 = l_Lean_Syntax_getArg(x_13, x_21);
x_23 = l_Lean_Linter_MissingDocs_declModifiersPubNoDoc(x_22);
lean_dec(x_22);
if (x_23 == 0)
{
lean_object* x_24; 
lean_dec(x_13);
x_24 = l_Array_forInUnsafe_loop___at_Lean_Linter_MissingDocs_checkDecl___spec__18___closed__1;
x_14 = x_24;
x_15 = x_10;
goto block_20;
}
else
{
lean_object* x_25; lean_object* x_26; uint8_t x_27; 
lean_inc(x_13);
x_25 = l_Lean_Syntax_getKind(x_13);
x_26 = l_Array_forInUnsafe_loop___at_Lean_Linter_MissingDocs_checkDecl___spec__18___closed__3;
x_27 = lean_name_eq(x_25, x_26);
lean_dec(x_25);
if (x_27 == 0)
{
lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; size_t x_32; size_t x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; 
x_28 = lean_unsigned_to_nat(2u);
x_29 = l_Lean_Syntax_getArg(x_13, x_28);
lean_dec(x_13);
x_30 = l_Lean_Syntax_getArgs(x_29);
lean_dec(x_29);
x_31 = lean_array_get_size(x_30);
x_32 = lean_usize_of_nat(x_31);
lean_dec(x_31);
x_33 = 0;
x_34 = lean_box(0);
lean_inc(x_8);
x_35 = l_Array_forInUnsafe_loop___at_Lean_Linter_MissingDocs_checkDecl___spec__17(x_1, x_2, x_3, x_30, x_32, x_33, x_34, x_8, x_9, x_10);
lean_dec(x_30);
x_36 = lean_ctor_get(x_35, 1);
lean_inc(x_36);
lean_dec(x_35);
x_37 = l_Array_forInUnsafe_loop___at_Lean_Linter_MissingDocs_checkDecl___spec__18___closed__1;
x_14 = x_37;
x_15 = x_36;
goto block_20;
}
else
{
lean_object* x_38; lean_object* x_39; uint8_t x_40; lean_object* x_41; 
x_38 = lean_unsigned_to_nat(1u);
x_39 = l_Lean_Syntax_getArg(x_13, x_38);
lean_dec(x_13);
x_40 = 0;
x_41 = l_Lean_Syntax_getRange_x3f(x_39, x_40);
if (lean_obj_tag(x_41) == 0)
{
lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; 
x_42 = lean_mk_string_unchecked("public field", 12, 12);
lean_inc(x_8);
x_43 = l_Lean_Linter_MissingDocs_lintField(x_3, x_39, x_42, x_8, x_9, x_10);
lean_dec(x_42);
lean_dec(x_39);
x_44 = lean_ctor_get(x_43, 1);
lean_inc(x_44);
lean_dec(x_43);
x_45 = l_Array_forInUnsafe_loop___at_Lean_Linter_MissingDocs_checkDecl___spec__18___closed__1;
x_14 = x_45;
x_15 = x_44;
goto block_20;
}
else
{
lean_object* x_46; lean_object* x_47; uint8_t x_48; 
x_46 = lean_ctor_get(x_41, 0);
lean_inc(x_46);
lean_dec(x_41);
x_47 = lean_ctor_get(x_46, 0);
lean_inc(x_47);
lean_dec(x_46);
x_48 = l_Lean_HashSetImp_contains___at_Lean_Linter_MissingDocs_checkDecl___spec__16(x_2, x_47);
lean_dec(x_47);
if (x_48 == 0)
{
lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; 
x_49 = lean_mk_string_unchecked("public field", 12, 12);
lean_inc(x_8);
x_50 = l_Lean_Linter_MissingDocs_lintField(x_3, x_39, x_49, x_8, x_9, x_10);
lean_dec(x_49);
lean_dec(x_39);
x_51 = lean_ctor_get(x_50, 1);
lean_inc(x_51);
lean_dec(x_50);
x_52 = l_Array_forInUnsafe_loop___at_Lean_Linter_MissingDocs_checkDecl___spec__18___closed__1;
x_14 = x_52;
x_15 = x_51;
goto block_20;
}
else
{
lean_object* x_53; 
lean_dec(x_39);
x_53 = l_Array_forInUnsafe_loop___at_Lean_Linter_MissingDocs_checkDecl___spec__18___closed__1;
x_14 = x_53;
x_15 = x_10;
goto block_20;
}
}
}
}
block_20:
{
lean_object* x_16; size_t x_17; size_t x_18; 
x_16 = lean_ctor_get(x_14, 0);
lean_inc(x_16);
lean_dec(x_14);
x_17 = 1;
x_18 = lean_usize_add(x_6, x_17);
x_6 = x_18;
x_7 = x_16;
x_10 = x_15;
goto _start;
}
}
}
}
static lean_object* _init_l_Lean_Linter_MissingDocs_checkDecl___lambda__1___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_instDecidableEqPos___boxed), 2, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_Linter_MissingDocs_checkDecl___lambda__1___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Linter_MissingDocs_checkDecl___lambda__1___closed__1;
x_2 = lean_alloc_closure((void*)(l_instBEqOfDecidableEq___rarg), 3, 1);
lean_closure_set(x_2, 0, x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_checkDecl___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
lean_object* x_7; lean_object* x_51; uint8_t x_52; 
x_51 = l_Lean_Linter_MissingDocs_lintDeclHead___closed__10;
x_52 = lean_name_eq(x_2, x_51);
if (x_52 == 0)
{
lean_object* x_53; uint8_t x_54; 
x_53 = l_Lean_Linter_MissingDocs_lintDeclHead___closed__12;
x_54 = lean_name_eq(x_2, x_53);
if (x_54 == 0)
{
lean_object* x_55; uint8_t x_56; 
x_55 = l_Lean_Linter_MissingDocs_lintDeclHead___closed__14;
x_56 = lean_name_eq(x_2, x_55);
if (x_56 == 0)
{
lean_object* x_57; lean_object* x_58; 
lean_dec(x_4);
x_57 = lean_box(0);
x_58 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_58, 0, x_57);
lean_ctor_set(x_58, 1, x_6);
return x_58;
}
else
{
lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; uint8_t x_63; 
x_59 = lean_unsigned_to_nat(5u);
x_60 = l_Lean_Syntax_getArg(x_1, x_59);
x_61 = lean_unsigned_to_nat(2u);
x_62 = l_Lean_Syntax_getArg(x_60, x_61);
lean_dec(x_60);
x_63 = l_Lean_Syntax_isNone(x_62);
if (x_63 == 0)
{
lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; size_t x_79; size_t x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; uint8_t x_84; 
x_64 = lean_st_ref_get(x_5, x_6);
x_65 = lean_ctor_get(x_64, 0);
lean_inc(x_65);
x_66 = lean_ctor_get(x_64, 1);
lean_inc(x_66);
lean_dec(x_64);
x_67 = lean_ctor_get(x_65, 6);
lean_inc(x_67);
lean_dec(x_65);
x_68 = lean_ctor_get(x_67, 1);
lean_inc(x_68);
lean_dec(x_67);
x_69 = lean_unsigned_to_nat(8u);
x_70 = l_Lean_mkHashSetImp___rarg(x_69);
x_71 = lean_unsigned_to_nat(0u);
x_72 = l_Lean_PersistentArray_foldlM___at_Lean_Linter_MissingDocs_checkDecl___spec__11(x_68, x_70, x_71);
lean_dec(x_68);
x_73 = lean_unsigned_to_nat(1u);
x_74 = l_Lean_Syntax_getArg(x_1, x_73);
x_75 = l_Lean_Syntax_getArg(x_74, x_71);
lean_dec(x_74);
x_76 = l_Lean_Syntax_getArg(x_62, x_71);
lean_dec(x_62);
x_77 = l_Lean_Syntax_getArgs(x_76);
lean_dec(x_76);
x_78 = lean_array_get_size(x_77);
x_79 = lean_usize_of_nat(x_78);
lean_dec(x_78);
x_80 = 0;
x_81 = l_Lean_Linter_MissingDocs_checkDecl___lambda__1___closed__2;
x_82 = lean_box(0);
x_83 = l_Array_forInUnsafe_loop___at_Lean_Linter_MissingDocs_checkDecl___spec__18(x_81, x_72, x_75, x_77, x_79, x_80, x_82, x_4, x_5, x_66);
lean_dec(x_77);
lean_dec(x_75);
lean_dec(x_72);
x_84 = !lean_is_exclusive(x_83);
if (x_84 == 0)
{
lean_object* x_85; 
x_85 = lean_ctor_get(x_83, 0);
lean_dec(x_85);
lean_ctor_set(x_83, 0, x_82);
return x_83;
}
else
{
lean_object* x_86; lean_object* x_87; 
x_86 = lean_ctor_get(x_83, 1);
lean_inc(x_86);
lean_dec(x_83);
x_87 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_87, 0, x_82);
lean_ctor_set(x_87, 1, x_86);
return x_87;
}
}
else
{
lean_object* x_88; lean_object* x_89; 
lean_dec(x_62);
lean_dec(x_4);
x_88 = lean_box(0);
x_89 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_89, 0, x_88);
lean_ctor_set(x_89, 1, x_6);
return x_89;
}
}
}
else
{
lean_object* x_90; 
x_90 = lean_box(0);
x_7 = x_90;
goto block_50;
}
}
else
{
lean_object* x_91; 
x_91 = lean_box(0);
x_7 = x_91;
goto block_50;
}
block_50:
{
lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; size_t x_12; size_t x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; 
lean_dec(x_7);
x_8 = lean_unsigned_to_nat(4u);
x_9 = l_Lean_Syntax_getArg(x_1, x_8);
x_10 = l_Lean_Syntax_getArgs(x_9);
lean_dec(x_9);
x_11 = lean_array_get_size(x_10);
x_12 = lean_usize_of_nat(x_11);
lean_dec(x_11);
x_13 = 0;
x_14 = lean_box(0);
lean_inc(x_4);
x_15 = l_Array_forInUnsafe_loop___at_Lean_Linter_MissingDocs_checkDecl___spec__1(x_1, x_10, x_12, x_13, x_14, x_4, x_5, x_6);
lean_dec(x_10);
x_16 = !lean_is_exclusive(x_15);
if (x_16 == 0)
{
lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; 
x_17 = lean_ctor_get(x_15, 1);
x_18 = lean_ctor_get(x_15, 0);
lean_dec(x_18);
x_19 = lean_unsigned_to_nat(5u);
x_20 = l_Lean_Syntax_getArg(x_1, x_19);
x_21 = l_Lean_Syntax_isNone(x_20);
if (x_21 == 0)
{
lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; size_t x_28; lean_object* x_29; uint8_t x_30; 
lean_free_object(x_15);
x_22 = lean_unsigned_to_nat(0u);
x_23 = l_Lean_Syntax_getArg(x_20, x_22);
lean_dec(x_20);
x_24 = lean_unsigned_to_nat(1u);
x_25 = l_Lean_Syntax_getArg(x_23, x_24);
lean_dec(x_23);
x_26 = l_Lean_Syntax_getArgs(x_25);
lean_dec(x_25);
x_27 = lean_array_get_size(x_26);
x_28 = lean_usize_of_nat(x_27);
lean_dec(x_27);
x_29 = l_Array_forInUnsafe_loop___at_Lean_Linter_MissingDocs_checkDecl___spec__2(x_1, x_26, x_28, x_13, x_14, x_4, x_5, x_17);
lean_dec(x_26);
x_30 = !lean_is_exclusive(x_29);
if (x_30 == 0)
{
lean_object* x_31; 
x_31 = lean_ctor_get(x_29, 0);
lean_dec(x_31);
lean_ctor_set(x_29, 0, x_14);
return x_29;
}
else
{
lean_object* x_32; lean_object* x_33; 
x_32 = lean_ctor_get(x_29, 1);
lean_inc(x_32);
lean_dec(x_29);
x_33 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_33, 0, x_14);
lean_ctor_set(x_33, 1, x_32);
return x_33;
}
}
else
{
lean_dec(x_20);
lean_dec(x_4);
lean_ctor_set(x_15, 0, x_14);
return x_15;
}
}
else
{
lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; 
x_34 = lean_ctor_get(x_15, 1);
lean_inc(x_34);
lean_dec(x_15);
x_35 = lean_unsigned_to_nat(5u);
x_36 = l_Lean_Syntax_getArg(x_1, x_35);
x_37 = l_Lean_Syntax_isNone(x_36);
if (x_37 == 0)
{
lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; size_t x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; 
x_38 = lean_unsigned_to_nat(0u);
x_39 = l_Lean_Syntax_getArg(x_36, x_38);
lean_dec(x_36);
x_40 = lean_unsigned_to_nat(1u);
x_41 = l_Lean_Syntax_getArg(x_39, x_40);
lean_dec(x_39);
x_42 = l_Lean_Syntax_getArgs(x_41);
lean_dec(x_41);
x_43 = lean_array_get_size(x_42);
x_44 = lean_usize_of_nat(x_43);
lean_dec(x_43);
x_45 = l_Array_forInUnsafe_loop___at_Lean_Linter_MissingDocs_checkDecl___spec__2(x_1, x_42, x_44, x_13, x_14, x_4, x_5, x_34);
lean_dec(x_42);
x_46 = lean_ctor_get(x_45, 1);
lean_inc(x_46);
if (lean_is_exclusive(x_45)) {
 lean_ctor_release(x_45, 0);
 lean_ctor_release(x_45, 1);
 x_47 = x_45;
} else {
 lean_dec_ref(x_45);
 x_47 = lean_box(0);
}
if (lean_is_scalar(x_47)) {
 x_48 = lean_alloc_ctor(0, 2, 0);
} else {
 x_48 = x_47;
}
lean_ctor_set(x_48, 0, x_14);
lean_ctor_set(x_48, 1, x_46);
return x_48;
}
else
{
lean_object* x_49; 
lean_dec(x_36);
lean_dec(x_4);
x_49 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_49, 0, x_14);
lean_ctor_set(x_49, 1, x_34);
return x_49;
}
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_checkDecl___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
lean_object* x_7; uint8_t x_8; 
lean_inc(x_1);
x_7 = l_Lean_Syntax_getKind(x_1);
x_8 = l_Lean_Linter_MissingDocs_declModifiersPubNoDoc(x_2);
if (x_8 == 0)
{
lean_object* x_9; lean_object* x_10; 
x_9 = lean_box(0);
x_10 = l_Lean_Linter_MissingDocs_checkDecl___lambda__1(x_1, x_7, x_9, x_4, x_5, x_6);
lean_dec(x_7);
lean_dec(x_1);
return x_10;
}
else
{
lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; 
x_11 = lean_unsigned_to_nat(1u);
x_12 = l_Lean_Syntax_getArg(x_1, x_11);
x_13 = lean_unsigned_to_nat(0u);
x_14 = l_Lean_Syntax_getArg(x_12, x_13);
lean_dec(x_12);
lean_inc(x_4);
x_15 = l_Lean_Linter_MissingDocs_lintDeclHead(x_7, x_14, x_4, x_5, x_6);
lean_dec(x_14);
x_16 = lean_ctor_get(x_15, 0);
lean_inc(x_16);
x_17 = lean_ctor_get(x_15, 1);
lean_inc(x_17);
lean_dec(x_15);
x_18 = l_Lean_Linter_MissingDocs_checkDecl___lambda__1(x_1, x_7, x_16, x_4, x_5, x_17);
lean_dec(x_16);
lean_dec(x_7);
lean_dec(x_1);
return x_18;
}
}
}
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_checkDecl(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; 
x_5 = lean_unsigned_to_nat(0u);
x_6 = l_Lean_Syntax_getArg(x_1, x_5);
x_7 = lean_unsigned_to_nat(1u);
x_8 = l_Lean_Syntax_getArg(x_1, x_7);
x_9 = lean_unsigned_to_nat(2u);
x_10 = l_Lean_Syntax_getArg(x_6, x_9);
x_11 = l_Lean_Syntax_getArg(x_10, x_5);
lean_dec(x_10);
x_12 = l_Lean_Syntax_getKind(x_11);
x_13 = l_Lean_Linter_MissingDocs_declModifiersPubNoDoc___closed__3;
x_14 = lean_name_eq(x_12, x_13);
lean_dec(x_12);
if (x_14 == 0)
{
lean_object* x_15; lean_object* x_16; 
x_15 = lean_box(0);
x_16 = l_Lean_Linter_MissingDocs_checkDecl___lambda__2(x_8, x_6, x_15, x_2, x_3, x_4);
lean_dec(x_6);
return x_16;
}
else
{
lean_object* x_17; lean_object* x_18; 
lean_dec(x_8);
lean_dec(x_6);
lean_dec(x_2);
x_17 = lean_box(0);
x_18 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_18, 0, x_17);
lean_ctor_set(x_18, 1, x_4);
return x_18;
}
}
}
LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Linter_MissingDocs_checkDecl___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) {
_start:
{
size_t x_9; size_t x_10; lean_object* x_11; 
x_9 = lean_unbox_usize(x_3);
lean_dec(x_3);
x_10 = lean_unbox_usize(x_4);
lean_dec(x_4);
x_11 = l_Array_forInUnsafe_loop___at_Lean_Linter_MissingDocs_checkDecl___spec__1(x_1, x_2, x_9, x_10, x_5, x_6, x_7, x_8);
lean_dec(x_7);
lean_dec(x_2);
lean_dec(x_1);
return x_11;
}
}
LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Linter_MissingDocs_checkDecl___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) {
_start:
{
size_t x_9; size_t x_10; lean_object* x_11; 
x_9 = lean_unbox_usize(x_3);
lean_dec(x_3);
x_10 = lean_unbox_usize(x_4);
lean_dec(x_4);
x_11 = l_Array_forInUnsafe_loop___at_Lean_Linter_MissingDocs_checkDecl___spec__2(x_1, x_2, x_9, x_10, x_5, x_6, x_7, x_8);
lean_dec(x_7);
lean_dec(x_2);
lean_dec(x_1);
return x_11;
}
}
LEAN_EXPORT lean_object* l_List_elem___at_Lean_Linter_MissingDocs_checkDecl___spec__4___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
uint8_t x_3; lean_object* x_4; 
x_3 = l_List_elem___at_Lean_Linter_MissingDocs_checkDecl___spec__4(x_1, x_2);
lean_dec(x_2);
lean_dec(x_1);
x_4 = lean_box(x_3);
return x_4;
}
}
LEAN_EXPORT lean_object* l_List_replace___at_Lean_Linter_MissingDocs_checkDecl___spec__9___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; 
x_4 = l_List_replace___at_Lean_Linter_MissingDocs_checkDecl___spec__9(x_1, x_2, x_3);
lean_dec(x_2);
return x_4;
}
}
LEAN_EXPORT lean_object* l_Lean_mkHashSet___at_Lean_Linter_MissingDocs_checkDecl___spec__10___boxed(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = l_Lean_mkHashSet___at_Lean_Linter_MissingDocs_checkDecl___spec__10(x_1);
lean_dec(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Linter_MissingDocs_checkDecl___spec__14___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
size_t x_5; size_t x_6; lean_object* x_7; 
x_5 = lean_unbox_usize(x_2);
lean_dec(x_2);
x_6 = lean_unbox_usize(x_3);
lean_dec(x_3);
x_7 = l_Array_foldlMUnsafe_fold___at_Lean_Linter_MissingDocs_checkDecl___spec__14(x_1, x_5, x_6, x_4);
lean_dec(x_1);
return x_7;
}
}
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Linter_MissingDocs_checkDecl___spec__15___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; 
x_4 = l_Array_foldlMUnsafe_fold___at_Lean_Linter_MissingDocs_checkDecl___spec__15___lambda__1(x_1, x_2, x_3);
lean_dec(x_2);
lean_dec(x_1);
return x_4;
}
}
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Linter_MissingDocs_checkDecl___spec__15___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
size_t x_5; size_t x_6; lean_object* x_7; 
x_5 = lean_unbox_usize(x_2);
lean_dec(x_2);
x_6 = lean_unbox_usize(x_3);
lean_dec(x_3);
x_7 = l_Array_foldlMUnsafe_fold___at_Lean_Linter_MissingDocs_checkDecl___spec__15(x_1, x_5, x_6, x_4);
lean_dec(x_1);
return x_7;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlMAux___at_Lean_Linter_MissingDocs_checkDecl___spec__13___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = l___private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlMAux___at_Lean_Linter_MissingDocs_checkDecl___spec__13(x_1, x_2);
lean_dec(x_1);
return x_3;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlFromMAux___at_Lean_Linter_MissingDocs_checkDecl___spec__12___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
size_t x_5; size_t x_6; lean_object* x_7; 
x_5 = lean_unbox_usize(x_2);
lean_dec(x_2);
x_6 = lean_unbox_usize(x_3);
lean_dec(x_3);
x_7 = l___private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlFromMAux___at_Lean_Linter_MissingDocs_checkDecl___spec__12(x_1, x_5, x_6, x_4);
lean_dec(x_1);
return x_7;
}
}
LEAN_EXPORT lean_object* l_Lean_PersistentArray_foldlM___at_Lean_Linter_MissingDocs_checkDecl___spec__11___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; 
x_4 = l_Lean_PersistentArray_foldlM___at_Lean_Linter_MissingDocs_checkDecl___spec__11(x_1, x_2, x_3);
lean_dec(x_3);
lean_dec(x_1);
return x_4;
}
}
LEAN_EXPORT lean_object* l_Lean_HashSetImp_contains___at_Lean_Linter_MissingDocs_checkDecl___spec__16___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
uint8_t x_3; lean_object* x_4; 
x_3 = l_Lean_HashSetImp_contains___at_Lean_Linter_MissingDocs_checkDecl___spec__16(x_1, x_2);
lean_dec(x_2);
lean_dec(x_1);
x_4 = lean_box(x_3);
return x_4;
}
}
LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Linter_MissingDocs_checkDecl___spec__17___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
lean_object* x_7; 
x_7 = l_Array_forInUnsafe_loop___at_Lean_Linter_MissingDocs_checkDecl___spec__17___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6);
lean_dec(x_5);
lean_dec(x_3);
lean_dec(x_2);
lean_dec(x_1);
return x_7;
}
}
LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Linter_MissingDocs_checkDecl___spec__17___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) {
_start:
{
size_t x_11; size_t x_12; lean_object* x_13; 
x_11 = lean_unbox_usize(x_5);
lean_dec(x_5);
x_12 = lean_unbox_usize(x_6);
lean_dec(x_6);
x_13 = l_Array_forInUnsafe_loop___at_Lean_Linter_MissingDocs_checkDecl___spec__17(x_1, x_2, x_3, x_4, x_11, x_12, x_7, x_8, x_9, x_10);
lean_dec(x_9);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
lean_dec(x_1);
return x_13;
}
}
LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Linter_MissingDocs_checkDecl___spec__18___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) {
_start:
{
size_t x_11; size_t x_12; lean_object* x_13; 
x_11 = lean_unbox_usize(x_5);
lean_dec(x_5);
x_12 = lean_unbox_usize(x_6);
lean_dec(x_6);
x_13 = l_Array_forInUnsafe_loop___at_Lean_Linter_MissingDocs_checkDecl___spec__18(x_1, x_2, x_3, x_4, x_11, x_12, x_7, x_8, x_9, x_10);
lean_dec(x_9);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
lean_dec(x_1);
return x_13;
}
}
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_checkDecl___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
lean_object* x_7; 
x_7 = l_Lean_Linter_MissingDocs_checkDecl___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6);
lean_dec(x_5);
lean_dec(x_3);
lean_dec(x_2);
lean_dec(x_1);
return x_7;
}
}
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_checkDecl___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
lean_object* x_7; 
x_7 = l_Lean_Linter_MissingDocs_checkDecl___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6);
lean_dec(x_5);
lean_dec(x_3);
lean_dec(x_2);
return x_7;
}
}
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_checkDecl___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; 
x_5 = l_Lean_Linter_MissingDocs_checkDecl(x_1, x_2, x_3, x_4);
lean_dec(x_3);
lean_dec(x_1);
return x_5;
}
}
static lean_object* _init_l___regBuiltin_Lean_Linter_MissingDocs_checkDecl__1___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("declaration", 11, 11);
return x_1;
}
}
static lean_object* _init_l___regBuiltin_Lean_Linter_MissingDocs_checkDecl__1___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l_Lean_Linter_initFn____x40_Lean_Linter_MissingDocs___hyg_8____closed__7;
x_2 = l_Array_anyMUnsafe_any___at_Lean_Linter_MissingDocs_hasInheritDoc___spec__1___closed__1;
x_3 = l_Lean_Linter_MissingDocs_declModifiersPubNoDoc___closed__1;
x_4 = l___regBuiltin_Lean_Linter_MissingDocs_checkDecl__1___closed__1;
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
static lean_object* _init_l___regBuiltin_Lean_Linter_MissingDocs_checkDecl__1___closed__3() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_Linter_MissingDocs_checkDecl___boxed), 4, 0);
return x_1;
}
}
static lean_object* _init_l___regBuiltin_Lean_Linter_MissingDocs_checkDecl__1___closed__4() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___regBuiltin_Lean_Linter_MissingDocs_checkDecl__1___closed__3;
x_2 = lean_alloc_closure((void*)(l_Lean_Linter_MissingDocs_SimpleHandler_toHandler___boxed), 6, 1);
lean_closure_set(x_2, 0, x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l___regBuiltin_Lean_Linter_MissingDocs_checkDecl__1(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_2 = l___regBuiltin_Lean_Linter_MissingDocs_checkDecl__1___closed__2;
x_3 = l___regBuiltin_Lean_Linter_MissingDocs_checkDecl__1___closed__4;
x_4 = l_Lean_Linter_MissingDocs_addBuiltinHandler(x_2, x_3, x_1);
return x_4;
}
}
static lean_object* _init_l_Lean_Linter_MissingDocs_checkInit___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("initializer", 11, 11);
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_checkInit(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; lean_object* x_6; uint8_t x_7; 
x_5 = lean_unsigned_to_nat(2u);
x_6 = l_Lean_Syntax_getArg(x_1, x_5);
x_7 = l_Lean_Syntax_isNone(x_6);
if (x_7 == 0)
{
lean_object* x_8; lean_object* x_9; uint8_t x_10; 
x_8 = lean_unsigned_to_nat(0u);
x_9 = l_Lean_Syntax_getArg(x_1, x_8);
x_10 = l_Lean_Linter_MissingDocs_declModifiersPubNoDoc(x_9);
lean_dec(x_9);
if (x_10 == 0)
{
lean_object* x_11; lean_object* x_12; 
lean_dec(x_6);
lean_dec(x_2);
x_11 = lean_box(0);
x_12 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_12, 0, x_11);
lean_ctor_set(x_12, 1, x_4);
return x_12;
}
else
{
lean_object* x_13; lean_object* x_14; lean_object* x_15; 
x_13 = l_Lean_Syntax_getArg(x_6, x_8);
lean_dec(x_6);
x_14 = l_Lean_Linter_MissingDocs_checkInit___closed__1;
x_15 = l_Lean_Linter_MissingDocs_lintNamed(x_13, x_14, x_2, x_3, x_4);
lean_dec(x_13);
return x_15;
}
}
else
{
lean_object* x_16; lean_object* x_17; 
lean_dec(x_6);
lean_dec(x_2);
x_16 = lean_box(0);
x_17 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_17, 0, x_16);
lean_ctor_set(x_17, 1, x_4);
return x_17;
}
}
}
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_checkInit___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; 
x_5 = l_Lean_Linter_MissingDocs_checkInit(x_1, x_2, x_3, x_4);
lean_dec(x_3);
lean_dec(x_1);
return x_5;
}
}
static lean_object* _init_l___regBuiltin_Lean_Linter_MissingDocs_checkInit__1___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("initialize", 10, 10);
return x_1;
}
}
static lean_object* _init_l___regBuiltin_Lean_Linter_MissingDocs_checkInit__1___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l_Lean_Linter_initFn____x40_Lean_Linter_MissingDocs___hyg_8____closed__7;
x_2 = l_Array_anyMUnsafe_any___at_Lean_Linter_MissingDocs_hasInheritDoc___spec__1___closed__1;
x_3 = l_Lean_Linter_MissingDocs_declModifiersPubNoDoc___closed__1;
x_4 = l___regBuiltin_Lean_Linter_MissingDocs_checkInit__1___closed__1;
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
static lean_object* _init_l___regBuiltin_Lean_Linter_MissingDocs_checkInit__1___closed__3() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_Linter_MissingDocs_checkInit___boxed), 4, 0);
return x_1;
}
}
static lean_object* _init_l___regBuiltin_Lean_Linter_MissingDocs_checkInit__1___closed__4() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___regBuiltin_Lean_Linter_MissingDocs_checkInit__1___closed__3;
x_2 = lean_alloc_closure((void*)(l_Lean_Linter_MissingDocs_SimpleHandler_toHandler___boxed), 6, 1);
lean_closure_set(x_2, 0, x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l___regBuiltin_Lean_Linter_MissingDocs_checkInit__1(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_2 = l___regBuiltin_Lean_Linter_MissingDocs_checkInit__1___closed__2;
x_3 = l___regBuiltin_Lean_Linter_MissingDocs_checkInit__1___closed__4;
x_4 = l_Lean_Linter_MissingDocs_addBuiltinHandler(x_2, x_3, x_1);
return x_4;
}
}
static lean_object* _init_l_Lean_Linter_MissingDocs_checkNotation___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("Term", 4, 4);
return x_1;
}
}
static lean_object* _init_l_Lean_Linter_MissingDocs_checkNotation___closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("local", 5, 5);
return x_1;
}
}
static lean_object* _init_l_Lean_Linter_MissingDocs_checkNotation___closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l_Lean_Linter_initFn____x40_Lean_Linter_MissingDocs___hyg_8____closed__7;
x_2 = l_Array_anyMUnsafe_any___at_Lean_Linter_MissingDocs_hasInheritDoc___spec__1___closed__1;
x_3 = l_Lean_Linter_MissingDocs_checkNotation___closed__1;
x_4 = l_Lean_Linter_MissingDocs_checkNotation___closed__2;
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
static lean_object* _init_l_Lean_Linter_MissingDocs_checkNotation___closed__4() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("notation", 8, 8);
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_checkNotation(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; lean_object* x_6; uint8_t x_7; 
x_5 = lean_unsigned_to_nat(0u);
x_6 = l_Lean_Syntax_getArg(x_1, x_5);
x_7 = l_Lean_Syntax_isNone(x_6);
lean_dec(x_6);
if (x_7 == 0)
{
lean_object* x_8; lean_object* x_9; 
lean_dec(x_2);
x_8 = lean_box(0);
x_9 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_9, 0, x_8);
lean_ctor_set(x_9, 1, x_4);
return x_9;
}
else
{
lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; 
x_10 = lean_unsigned_to_nat(2u);
x_11 = l_Lean_Syntax_getArg(x_1, x_10);
x_12 = l_Lean_Syntax_getArg(x_11, x_5);
lean_dec(x_11);
x_13 = l_Lean_Syntax_getArg(x_12, x_5);
lean_dec(x_12);
x_14 = l_Lean_Syntax_getKind(x_13);
x_15 = l_Lean_Linter_MissingDocs_checkNotation___closed__3;
x_16 = lean_name_eq(x_14, x_15);
lean_dec(x_14);
if (x_16 == 0)
{
lean_object* x_17; lean_object* x_18; uint8_t x_19; 
x_17 = lean_unsigned_to_nat(1u);
x_18 = l_Lean_Syntax_getArg(x_1, x_17);
x_19 = l_Lean_Linter_MissingDocs_hasInheritDoc(x_18);
lean_dec(x_18);
if (x_19 == 0)
{
lean_object* x_20; lean_object* x_21; uint8_t x_22; 
x_20 = lean_unsigned_to_nat(5u);
x_21 = l_Lean_Syntax_getArg(x_1, x_20);
x_22 = l_Lean_Syntax_isNone(x_21);
if (x_22 == 0)
{
lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; 
x_23 = l_Lean_Syntax_getArg(x_21, x_5);
lean_dec(x_21);
x_24 = lean_unsigned_to_nat(3u);
x_25 = l_Lean_Syntax_getArg(x_23, x_24);
lean_dec(x_23);
x_26 = l_Lean_Linter_MissingDocs_checkNotation___closed__4;
x_27 = l_Lean_Linter_MissingDocs_lintNamed(x_25, x_26, x_2, x_3, x_4);
lean_dec(x_25);
return x_27;
}
else
{
lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; 
lean_dec(x_21);
x_28 = lean_unsigned_to_nat(3u);
x_29 = l_Lean_Syntax_getArg(x_1, x_28);
x_30 = l_Lean_Linter_MissingDocs_checkNotation___closed__4;
x_31 = l_Lean_Linter_MissingDocs_lint(x_29, x_30, x_2, x_3, x_4);
lean_dec(x_29);
return x_31;
}
}
else
{
lean_object* x_32; lean_object* x_33; 
lean_dec(x_2);
x_32 = lean_box(0);
x_33 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_33, 0, x_32);
lean_ctor_set(x_33, 1, x_4);
return x_33;
}
}
else
{
lean_object* x_34; lean_object* x_35; 
lean_dec(x_2);
x_34 = lean_box(0);
x_35 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_35, 0, x_34);
lean_ctor_set(x_35, 1, x_4);
return x_35;
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_checkNotation___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; 
x_5 = l_Lean_Linter_MissingDocs_checkNotation(x_1, x_2, x_3, x_4);
lean_dec(x_3);
lean_dec(x_1);
return x_5;
}
}
static lean_object* _init_l___regBuiltin_Lean_Linter_MissingDocs_checkNotation__1___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l_Lean_Linter_initFn____x40_Lean_Linter_MissingDocs___hyg_8____closed__7;
x_2 = l_Array_anyMUnsafe_any___at_Lean_Linter_MissingDocs_hasInheritDoc___spec__1___closed__1;
x_3 = l_Lean_Linter_MissingDocs_declModifiersPubNoDoc___closed__1;
x_4 = l_Lean_Linter_MissingDocs_checkNotation___closed__4;
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
static lean_object* _init_l___regBuiltin_Lean_Linter_MissingDocs_checkNotation__1___closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_Linter_MissingDocs_checkNotation___boxed), 4, 0);
return x_1;
}
}
static lean_object* _init_l___regBuiltin_Lean_Linter_MissingDocs_checkNotation__1___closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___regBuiltin_Lean_Linter_MissingDocs_checkNotation__1___closed__2;
x_2 = lean_alloc_closure((void*)(l_Lean_Linter_MissingDocs_SimpleHandler_toHandler___boxed), 6, 1);
lean_closure_set(x_2, 0, x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l___regBuiltin_Lean_Linter_MissingDocs_checkNotation__1(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_2 = l___regBuiltin_Lean_Linter_MissingDocs_checkNotation__1___closed__1;
x_3 = l___regBuiltin_Lean_Linter_MissingDocs_checkNotation__1___closed__3;
x_4 = l_Lean_Linter_MissingDocs_addBuiltinHandler(x_2, x_3, x_1);
return x_4;
}
}
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_checkMixfix(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; lean_object* x_6; uint8_t x_7; 
x_5 = lean_unsigned_to_nat(0u);
x_6 = l_Lean_Syntax_getArg(x_1, x_5);
x_7 = l_Lean_Syntax_isNone(x_6);
lean_dec(x_6);
if (x_7 == 0)
{
lean_object* x_8; lean_object* x_9; 
lean_dec(x_2);
x_8 = lean_box(0);
x_9 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_9, 0, x_8);
lean_ctor_set(x_9, 1, x_4);
return x_9;
}
else
{
lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; 
x_10 = lean_unsigned_to_nat(2u);
x_11 = l_Lean_Syntax_getArg(x_1, x_10);
x_12 = l_Lean_Syntax_getArg(x_11, x_5);
lean_dec(x_11);
x_13 = l_Lean_Syntax_getArg(x_12, x_5);
lean_dec(x_12);
x_14 = l_Lean_Syntax_getKind(x_13);
x_15 = l_Lean_Linter_MissingDocs_checkNotation___closed__3;
x_16 = lean_name_eq(x_14, x_15);
lean_dec(x_14);
if (x_16 == 0)
{
lean_object* x_17; lean_object* x_18; uint8_t x_19; 
x_17 = lean_unsigned_to_nat(1u);
x_18 = l_Lean_Syntax_getArg(x_1, x_17);
x_19 = l_Lean_Linter_MissingDocs_hasInheritDoc(x_18);
lean_dec(x_18);
if (x_19 == 0)
{
lean_object* x_20; lean_object* x_21; uint8_t x_22; 
x_20 = lean_unsigned_to_nat(5u);
x_21 = l_Lean_Syntax_getArg(x_1, x_20);
x_22 = l_Lean_Syntax_isNone(x_21);
if (x_22 == 0)
{
lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; 
x_23 = l_Lean_Syntax_getArg(x_21, x_5);
lean_dec(x_21);
x_24 = lean_unsigned_to_nat(3u);
x_25 = l_Lean_Syntax_getArg(x_23, x_24);
lean_dec(x_23);
x_26 = l_Lean_Syntax_getArg(x_1, x_24);
x_27 = l_Lean_Syntax_getArg(x_26, x_5);
lean_dec(x_26);
x_28 = l_Lean_Syntax_getAtomVal(x_27);
lean_dec(x_27);
x_29 = l_Lean_Linter_MissingDocs_lintNamed(x_25, x_28, x_2, x_3, x_4);
lean_dec(x_28);
lean_dec(x_25);
return x_29;
}
else
{
lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; 
lean_dec(x_21);
x_30 = lean_unsigned_to_nat(3u);
x_31 = l_Lean_Syntax_getArg(x_1, x_30);
x_32 = l_Lean_Syntax_getArg(x_31, x_5);
x_33 = l_Lean_Syntax_getAtomVal(x_32);
lean_dec(x_32);
x_34 = l_Lean_Linter_MissingDocs_lint(x_31, x_33, x_2, x_3, x_4);
lean_dec(x_33);
lean_dec(x_31);
return x_34;
}
}
else
{
lean_object* x_35; lean_object* x_36; 
lean_dec(x_2);
x_35 = lean_box(0);
x_36 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_36, 0, x_35);
lean_ctor_set(x_36, 1, x_4);
return x_36;
}
}
else
{
lean_object* x_37; lean_object* x_38; 
lean_dec(x_2);
x_37 = lean_box(0);
x_38 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_38, 0, x_37);
lean_ctor_set(x_38, 1, x_4);
return x_38;
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_checkMixfix___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; 
x_5 = l_Lean_Linter_MissingDocs_checkMixfix(x_1, x_2, x_3, x_4);
lean_dec(x_3);
lean_dec(x_1);
return x_5;
}
}
static lean_object* _init_l___regBuiltin_Lean_Linter_MissingDocs_checkMixfix__1___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("mixfix", 6, 6);
return x_1;
}
}
static lean_object* _init_l___regBuiltin_Lean_Linter_MissingDocs_checkMixfix__1___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l_Lean_Linter_initFn____x40_Lean_Linter_MissingDocs___hyg_8____closed__7;
x_2 = l_Array_anyMUnsafe_any___at_Lean_Linter_MissingDocs_hasInheritDoc___spec__1___closed__1;
x_3 = l_Lean_Linter_MissingDocs_declModifiersPubNoDoc___closed__1;
x_4 = l___regBuiltin_Lean_Linter_MissingDocs_checkMixfix__1___closed__1;
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
static lean_object* _init_l___regBuiltin_Lean_Linter_MissingDocs_checkMixfix__1___closed__3() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_Linter_MissingDocs_checkMixfix___boxed), 4, 0);
return x_1;
}
}
static lean_object* _init_l___regBuiltin_Lean_Linter_MissingDocs_checkMixfix__1___closed__4() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___regBuiltin_Lean_Linter_MissingDocs_checkMixfix__1___closed__3;
x_2 = lean_alloc_closure((void*)(l_Lean_Linter_MissingDocs_SimpleHandler_toHandler___boxed), 6, 1);
lean_closure_set(x_2, 0, x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l___regBuiltin_Lean_Linter_MissingDocs_checkMixfix__1(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_2 = l___regBuiltin_Lean_Linter_MissingDocs_checkMixfix__1___closed__2;
x_3 = l___regBuiltin_Lean_Linter_MissingDocs_checkMixfix__1___closed__4;
x_4 = l_Lean_Linter_MissingDocs_addBuiltinHandler(x_2, x_3, x_1);
return x_4;
}
}
static lean_object* _init_l_Lean_Linter_MissingDocs_checkSyntax___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("syntax", 6, 6);
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_checkSyntax(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; lean_object* x_6; uint8_t x_7; 
x_5 = lean_unsigned_to_nat(0u);
x_6 = l_Lean_Syntax_getArg(x_1, x_5);
x_7 = l_Lean_Syntax_isNone(x_6);
lean_dec(x_6);
if (x_7 == 0)
{
lean_object* x_8; lean_object* x_9; 
lean_dec(x_2);
x_8 = lean_box(0);
x_9 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_9, 0, x_8);
lean_ctor_set(x_9, 1, x_4);
return x_9;
}
else
{
lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; 
x_10 = lean_unsigned_to_nat(2u);
x_11 = l_Lean_Syntax_getArg(x_1, x_10);
x_12 = l_Lean_Syntax_getArg(x_11, x_5);
lean_dec(x_11);
x_13 = l_Lean_Syntax_getArg(x_12, x_5);
lean_dec(x_12);
x_14 = l_Lean_Syntax_getKind(x_13);
x_15 = l_Lean_Linter_MissingDocs_checkNotation___closed__3;
x_16 = lean_name_eq(x_14, x_15);
lean_dec(x_14);
if (x_16 == 0)
{
lean_object* x_17; lean_object* x_18; uint8_t x_19; 
x_17 = lean_unsigned_to_nat(1u);
x_18 = l_Lean_Syntax_getArg(x_1, x_17);
x_19 = l_Lean_Linter_MissingDocs_hasInheritDoc(x_18);
lean_dec(x_18);
if (x_19 == 0)
{
lean_object* x_20; lean_object* x_21; uint8_t x_22; 
x_20 = lean_unsigned_to_nat(5u);
x_21 = l_Lean_Syntax_getArg(x_1, x_20);
x_22 = l_Lean_Syntax_isNone(x_21);
if (x_22 == 0)
{
lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; 
x_23 = l_Lean_Syntax_getArg(x_21, x_5);
lean_dec(x_21);
x_24 = lean_unsigned_to_nat(3u);
x_25 = l_Lean_Syntax_getArg(x_23, x_24);
lean_dec(x_23);
x_26 = l_Lean_Linter_MissingDocs_checkSyntax___closed__1;
x_27 = l_Lean_Linter_MissingDocs_lintNamed(x_25, x_26, x_2, x_3, x_4);
lean_dec(x_25);
return x_27;
}
else
{
lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; 
lean_dec(x_21);
x_28 = lean_unsigned_to_nat(3u);
x_29 = l_Lean_Syntax_getArg(x_1, x_28);
x_30 = l_Lean_Linter_MissingDocs_checkSyntax___closed__1;
x_31 = l_Lean_Linter_MissingDocs_lint(x_29, x_30, x_2, x_3, x_4);
lean_dec(x_29);
return x_31;
}
}
else
{
lean_object* x_32; lean_object* x_33; 
lean_dec(x_2);
x_32 = lean_box(0);
x_33 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_33, 0, x_32);
lean_ctor_set(x_33, 1, x_4);
return x_33;
}
}
else
{
lean_object* x_34; lean_object* x_35; 
lean_dec(x_2);
x_34 = lean_box(0);
x_35 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_35, 0, x_34);
lean_ctor_set(x_35, 1, x_4);
return x_35;
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_checkSyntax___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; 
x_5 = l_Lean_Linter_MissingDocs_checkSyntax(x_1, x_2, x_3, x_4);
lean_dec(x_3);
lean_dec(x_1);
return x_5;
}
}
static lean_object* _init_l___regBuiltin_Lean_Linter_MissingDocs_checkSyntax__1___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l_Lean_Linter_initFn____x40_Lean_Linter_MissingDocs___hyg_8____closed__7;
x_2 = l_Array_anyMUnsafe_any___at_Lean_Linter_MissingDocs_hasInheritDoc___spec__1___closed__1;
x_3 = l_Lean_Linter_MissingDocs_declModifiersPubNoDoc___closed__1;
x_4 = l_Lean_Linter_MissingDocs_checkSyntax___closed__1;
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
static lean_object* _init_l___regBuiltin_Lean_Linter_MissingDocs_checkSyntax__1___closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_Linter_MissingDocs_checkSyntax___boxed), 4, 0);
return x_1;
}
}
static lean_object* _init_l___regBuiltin_Lean_Linter_MissingDocs_checkSyntax__1___closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___regBuiltin_Lean_Linter_MissingDocs_checkSyntax__1___closed__2;
x_2 = lean_alloc_closure((void*)(l_Lean_Linter_MissingDocs_SimpleHandler_toHandler___boxed), 6, 1);
lean_closure_set(x_2, 0, x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l___regBuiltin_Lean_Linter_MissingDocs_checkSyntax__1(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_2 = l___regBuiltin_Lean_Linter_MissingDocs_checkSyntax__1___closed__1;
x_3 = l___regBuiltin_Lean_Linter_MissingDocs_checkSyntax__1___closed__3;
x_4 = l_Lean_Linter_MissingDocs_addBuiltinHandler(x_2, x_3, x_1);
return x_4;
}
}
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_mkSimpleHandler(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
lean_object* x_6; lean_object* x_7; uint8_t x_8; 
x_6 = lean_unsigned_to_nat(0u);
x_7 = l_Lean_Syntax_getArg(x_2, x_6);
x_8 = l_Lean_Syntax_isNone(x_7);
lean_dec(x_7);
if (x_8 == 0)
{
lean_object* x_9; lean_object* x_10; 
lean_dec(x_3);
x_9 = lean_box(0);
x_10 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_10, 0, x_9);
lean_ctor_set(x_10, 1, x_5);
return x_10;
}
else
{
lean_object* x_11; lean_object* x_12; lean_object* x_13; 
x_11 = lean_unsigned_to_nat(2u);
x_12 = l_Lean_Syntax_getArg(x_2, x_11);
x_13 = l_Lean_Linter_MissingDocs_lintNamed(x_12, x_1, x_3, x_4, x_5);
lean_dec(x_12);
return x_13;
}
}
}
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_mkSimpleHandler___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
lean_object* x_6; 
x_6 = l_Lean_Linter_MissingDocs_mkSimpleHandler(x_1, x_2, x_3, x_4, x_5);
lean_dec(x_4);
lean_dec(x_2);
lean_dec(x_1);
return x_6;
}
}
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_checkSyntaxAbbrev(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; lean_object* x_6; 
x_5 = l_Lean_Linter_MissingDocs_checkSyntax___closed__1;
x_6 = l_Lean_Linter_MissingDocs_mkSimpleHandler(x_5, x_1, x_2, x_3, x_4);
return x_6;
}
}
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_checkSyntaxAbbrev___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; 
x_5 = l_Lean_Linter_MissingDocs_checkSyntaxAbbrev(x_1, x_2, x_3, x_4);
lean_dec(x_3);
lean_dec(x_1);
return x_5;
}
}
static lean_object* _init_l___regBuiltin_Lean_Linter_MissingDocs_checkSyntaxAbbrev__1___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("syntaxAbbrev", 12, 12);
return x_1;
}
}
static lean_object* _init_l___regBuiltin_Lean_Linter_MissingDocs_checkSyntaxAbbrev__1___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l_Lean_Linter_initFn____x40_Lean_Linter_MissingDocs___hyg_8____closed__7;
x_2 = l_Array_anyMUnsafe_any___at_Lean_Linter_MissingDocs_hasInheritDoc___spec__1___closed__1;
x_3 = l_Lean_Linter_MissingDocs_declModifiersPubNoDoc___closed__1;
x_4 = l___regBuiltin_Lean_Linter_MissingDocs_checkSyntaxAbbrev__1___closed__1;
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
static lean_object* _init_l___regBuiltin_Lean_Linter_MissingDocs_checkSyntaxAbbrev__1___closed__3() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_Linter_MissingDocs_checkSyntaxAbbrev___boxed), 4, 0);
return x_1;
}
}
static lean_object* _init_l___regBuiltin_Lean_Linter_MissingDocs_checkSyntaxAbbrev__1___closed__4() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___regBuiltin_Lean_Linter_MissingDocs_checkSyntaxAbbrev__1___closed__3;
x_2 = lean_alloc_closure((void*)(l_Lean_Linter_MissingDocs_SimpleHandler_toHandler___boxed), 6, 1);
lean_closure_set(x_2, 0, x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l___regBuiltin_Lean_Linter_MissingDocs_checkSyntaxAbbrev__1(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_2 = l___regBuiltin_Lean_Linter_MissingDocs_checkSyntaxAbbrev__1___closed__2;
x_3 = l___regBuiltin_Lean_Linter_MissingDocs_checkSyntaxAbbrev__1___closed__4;
x_4 = l_Lean_Linter_MissingDocs_addBuiltinHandler(x_2, x_3, x_1);
return x_4;
}
}
static lean_object* _init_l_Lean_Linter_MissingDocs_checkSyntaxCat___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("syntax category", 15, 15);
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_checkSyntaxCat(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; lean_object* x_6; 
x_5 = l_Lean_Linter_MissingDocs_checkSyntaxCat___closed__1;
x_6 = l_Lean_Linter_MissingDocs_mkSimpleHandler(x_5, x_1, x_2, x_3, x_4);
return x_6;
}
}
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_checkSyntaxCat___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; 
x_5 = l_Lean_Linter_MissingDocs_checkSyntaxCat(x_1, x_2, x_3, x_4);
lean_dec(x_3);
lean_dec(x_1);
return x_5;
}
}
static lean_object* _init_l___regBuiltin_Lean_Linter_MissingDocs_checkSyntaxCat__1___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("syntaxCat", 9, 9);
return x_1;
}
}
static lean_object* _init_l___regBuiltin_Lean_Linter_MissingDocs_checkSyntaxCat__1___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l_Lean_Linter_initFn____x40_Lean_Linter_MissingDocs___hyg_8____closed__7;
x_2 = l_Array_anyMUnsafe_any___at_Lean_Linter_MissingDocs_hasInheritDoc___spec__1___closed__1;
x_3 = l_Lean_Linter_MissingDocs_declModifiersPubNoDoc___closed__1;
x_4 = l___regBuiltin_Lean_Linter_MissingDocs_checkSyntaxCat__1___closed__1;
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
static lean_object* _init_l___regBuiltin_Lean_Linter_MissingDocs_checkSyntaxCat__1___closed__3() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_Linter_MissingDocs_checkSyntaxCat___boxed), 4, 0);
return x_1;
}
}
static lean_object* _init_l___regBuiltin_Lean_Linter_MissingDocs_checkSyntaxCat__1___closed__4() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___regBuiltin_Lean_Linter_MissingDocs_checkSyntaxCat__1___closed__3;
x_2 = lean_alloc_closure((void*)(l_Lean_Linter_MissingDocs_SimpleHandler_toHandler___boxed), 6, 1);
lean_closure_set(x_2, 0, x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l___regBuiltin_Lean_Linter_MissingDocs_checkSyntaxCat__1(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_2 = l___regBuiltin_Lean_Linter_MissingDocs_checkSyntaxCat__1___closed__2;
x_3 = l___regBuiltin_Lean_Linter_MissingDocs_checkSyntaxCat__1___closed__4;
x_4 = l_Lean_Linter_MissingDocs_addBuiltinHandler(x_2, x_3, x_1);
return x_4;
}
}
static lean_object* _init_l_Lean_Linter_MissingDocs_checkMacro___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("macro", 5, 5);
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_checkMacro(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; lean_object* x_6; uint8_t x_7; 
x_5 = lean_unsigned_to_nat(0u);
x_6 = l_Lean_Syntax_getArg(x_1, x_5);
x_7 = l_Lean_Syntax_isNone(x_6);
lean_dec(x_6);
if (x_7 == 0)
{
lean_object* x_8; lean_object* x_9; 
lean_dec(x_2);
x_8 = lean_box(0);
x_9 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_9, 0, x_8);
lean_ctor_set(x_9, 1, x_4);
return x_9;
}
else
{
lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; 
x_10 = lean_unsigned_to_nat(2u);
x_11 = l_Lean_Syntax_getArg(x_1, x_10);
x_12 = l_Lean_Syntax_getArg(x_11, x_5);
lean_dec(x_11);
x_13 = l_Lean_Syntax_getArg(x_12, x_5);
lean_dec(x_12);
x_14 = l_Lean_Syntax_getKind(x_13);
x_15 = l_Lean_Linter_MissingDocs_checkNotation___closed__3;
x_16 = lean_name_eq(x_14, x_15);
lean_dec(x_14);
if (x_16 == 0)
{
lean_object* x_17; lean_object* x_18; uint8_t x_19; 
x_17 = lean_unsigned_to_nat(1u);
x_18 = l_Lean_Syntax_getArg(x_1, x_17);
x_19 = l_Lean_Linter_MissingDocs_hasInheritDoc(x_18);
lean_dec(x_18);
if (x_19 == 0)
{
lean_object* x_20; lean_object* x_21; uint8_t x_22; 
x_20 = lean_unsigned_to_nat(5u);
x_21 = l_Lean_Syntax_getArg(x_1, x_20);
x_22 = l_Lean_Syntax_isNone(x_21);
if (x_22 == 0)
{
lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; 
x_23 = l_Lean_Syntax_getArg(x_21, x_5);
lean_dec(x_21);
x_24 = lean_unsigned_to_nat(3u);
x_25 = l_Lean_Syntax_getArg(x_23, x_24);
lean_dec(x_23);
x_26 = l_Lean_Linter_MissingDocs_checkMacro___closed__1;
x_27 = l_Lean_Linter_MissingDocs_lintNamed(x_25, x_26, x_2, x_3, x_4);
lean_dec(x_25);
return x_27;
}
else
{
lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; 
lean_dec(x_21);
x_28 = lean_unsigned_to_nat(3u);
x_29 = l_Lean_Syntax_getArg(x_1, x_28);
x_30 = l_Lean_Linter_MissingDocs_checkMacro___closed__1;
x_31 = l_Lean_Linter_MissingDocs_lint(x_29, x_30, x_2, x_3, x_4);
lean_dec(x_29);
return x_31;
}
}
else
{
lean_object* x_32; lean_object* x_33; 
lean_dec(x_2);
x_32 = lean_box(0);
x_33 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_33, 0, x_32);
lean_ctor_set(x_33, 1, x_4);
return x_33;
}
}
else
{
lean_object* x_34; lean_object* x_35; 
lean_dec(x_2);
x_34 = lean_box(0);
x_35 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_35, 0, x_34);
lean_ctor_set(x_35, 1, x_4);
return x_35;
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_checkMacro___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; 
x_5 = l_Lean_Linter_MissingDocs_checkMacro(x_1, x_2, x_3, x_4);
lean_dec(x_3);
lean_dec(x_1);
return x_5;
}
}
static lean_object* _init_l___regBuiltin_Lean_Linter_MissingDocs_checkMacro__1___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l_Lean_Linter_initFn____x40_Lean_Linter_MissingDocs___hyg_8____closed__7;
x_2 = l_Array_anyMUnsafe_any___at_Lean_Linter_MissingDocs_hasInheritDoc___spec__1___closed__1;
x_3 = l_Lean_Linter_MissingDocs_declModifiersPubNoDoc___closed__1;
x_4 = l_Lean_Linter_MissingDocs_checkMacro___closed__1;
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
static lean_object* _init_l___regBuiltin_Lean_Linter_MissingDocs_checkMacro__1___closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_Linter_MissingDocs_checkMacro___boxed), 4, 0);
return x_1;
}
}
static lean_object* _init_l___regBuiltin_Lean_Linter_MissingDocs_checkMacro__1___closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___regBuiltin_Lean_Linter_MissingDocs_checkMacro__1___closed__2;
x_2 = lean_alloc_closure((void*)(l_Lean_Linter_MissingDocs_SimpleHandler_toHandler___boxed), 6, 1);
lean_closure_set(x_2, 0, x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l___regBuiltin_Lean_Linter_MissingDocs_checkMacro__1(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_2 = l___regBuiltin_Lean_Linter_MissingDocs_checkMacro__1___closed__1;
x_3 = l___regBuiltin_Lean_Linter_MissingDocs_checkMacro__1___closed__3;
x_4 = l_Lean_Linter_MissingDocs_addBuiltinHandler(x_2, x_3, x_1);
return x_4;
}
}
static lean_object* _init_l_Lean_Linter_MissingDocs_checkElab___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("elab", 4, 4);
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_checkElab(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; lean_object* x_6; uint8_t x_7; 
x_5 = lean_unsigned_to_nat(0u);
x_6 = l_Lean_Syntax_getArg(x_1, x_5);
x_7 = l_Lean_Syntax_isNone(x_6);
lean_dec(x_6);
if (x_7 == 0)
{
lean_object* x_8; lean_object* x_9; 
lean_dec(x_2);
x_8 = lean_box(0);
x_9 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_9, 0, x_8);
lean_ctor_set(x_9, 1, x_4);
return x_9;
}
else
{
lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; 
x_10 = lean_unsigned_to_nat(2u);
x_11 = l_Lean_Syntax_getArg(x_1, x_10);
x_12 = l_Lean_Syntax_getArg(x_11, x_5);
lean_dec(x_11);
x_13 = l_Lean_Syntax_getArg(x_12, x_5);
lean_dec(x_12);
x_14 = l_Lean_Syntax_getKind(x_13);
x_15 = l_Lean_Linter_MissingDocs_checkNotation___closed__3;
x_16 = lean_name_eq(x_14, x_15);
lean_dec(x_14);
if (x_16 == 0)
{
lean_object* x_17; lean_object* x_18; uint8_t x_19; 
x_17 = lean_unsigned_to_nat(1u);
x_18 = l_Lean_Syntax_getArg(x_1, x_17);
x_19 = l_Lean_Linter_MissingDocs_hasInheritDoc(x_18);
lean_dec(x_18);
if (x_19 == 0)
{
lean_object* x_20; lean_object* x_21; uint8_t x_22; 
x_20 = lean_unsigned_to_nat(5u);
x_21 = l_Lean_Syntax_getArg(x_1, x_20);
x_22 = l_Lean_Syntax_isNone(x_21);
if (x_22 == 0)
{
lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; 
x_23 = l_Lean_Syntax_getArg(x_21, x_5);
lean_dec(x_21);
x_24 = lean_unsigned_to_nat(3u);
x_25 = l_Lean_Syntax_getArg(x_23, x_24);
lean_dec(x_23);
x_26 = l_Lean_Linter_MissingDocs_checkElab___closed__1;
x_27 = l_Lean_Linter_MissingDocs_lintNamed(x_25, x_26, x_2, x_3, x_4);
lean_dec(x_25);
return x_27;
}
else
{
lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; 
lean_dec(x_21);
x_28 = lean_unsigned_to_nat(3u);
x_29 = l_Lean_Syntax_getArg(x_1, x_28);
x_30 = l_Lean_Linter_MissingDocs_checkElab___closed__1;
x_31 = l_Lean_Linter_MissingDocs_lint(x_29, x_30, x_2, x_3, x_4);
lean_dec(x_29);
return x_31;
}
}
else
{
lean_object* x_32; lean_object* x_33; 
lean_dec(x_2);
x_32 = lean_box(0);
x_33 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_33, 0, x_32);
lean_ctor_set(x_33, 1, x_4);
return x_33;
}
}
else
{
lean_object* x_34; lean_object* x_35; 
lean_dec(x_2);
x_34 = lean_box(0);
x_35 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_35, 0, x_34);
lean_ctor_set(x_35, 1, x_4);
return x_35;
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_checkElab___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; 
x_5 = l_Lean_Linter_MissingDocs_checkElab(x_1, x_2, x_3, x_4);
lean_dec(x_3);
lean_dec(x_1);
return x_5;
}
}
static lean_object* _init_l___regBuiltin_Lean_Linter_MissingDocs_checkElab__1___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l_Lean_Linter_initFn____x40_Lean_Linter_MissingDocs___hyg_8____closed__7;
x_2 = l_Array_anyMUnsafe_any___at_Lean_Linter_MissingDocs_hasInheritDoc___spec__1___closed__1;
x_3 = l_Lean_Linter_MissingDocs_declModifiersPubNoDoc___closed__1;
x_4 = l_Lean_Linter_MissingDocs_checkElab___closed__1;
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
static lean_object* _init_l___regBuiltin_Lean_Linter_MissingDocs_checkElab__1___closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_Linter_MissingDocs_checkElab___boxed), 4, 0);
return x_1;
}
}
static lean_object* _init_l___regBuiltin_Lean_Linter_MissingDocs_checkElab__1___closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___regBuiltin_Lean_Linter_MissingDocs_checkElab__1___closed__2;
x_2 = lean_alloc_closure((void*)(l_Lean_Linter_MissingDocs_SimpleHandler_toHandler___boxed), 6, 1);
lean_closure_set(x_2, 0, x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l___regBuiltin_Lean_Linter_MissingDocs_checkElab__1(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_2 = l___regBuiltin_Lean_Linter_MissingDocs_checkElab__1___closed__1;
x_3 = l___regBuiltin_Lean_Linter_MissingDocs_checkElab__1___closed__3;
x_4 = l_Lean_Linter_MissingDocs_addBuiltinHandler(x_2, x_3, x_1);
return x_4;
}
}
static lean_object* _init_l_Lean_Linter_MissingDocs_checkClassAbbrev___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("class abbrev", 12, 12);
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_checkClassAbbrev(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; lean_object* x_6; uint8_t x_7; 
x_5 = lean_unsigned_to_nat(0u);
x_6 = l_Lean_Syntax_getArg(x_1, x_5);
x_7 = l_Lean_Linter_MissingDocs_declModifiersPubNoDoc(x_6);
lean_dec(x_6);
if (x_7 == 0)
{
lean_object* x_8; lean_object* x_9; 
lean_dec(x_2);
x_8 = lean_box(0);
x_9 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_9, 0, x_8);
lean_ctor_set(x_9, 1, x_4);
return x_9;
}
else
{
lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; 
x_10 = lean_unsigned_to_nat(3u);
x_11 = l_Lean_Syntax_getArg(x_1, x_10);
x_12 = l_Lean_Linter_MissingDocs_checkClassAbbrev___closed__1;
x_13 = l_Lean_Linter_MissingDocs_lintNamed(x_11, x_12, x_2, x_3, x_4);
lean_dec(x_11);
return x_13;
}
}
}
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_checkClassAbbrev___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; 
x_5 = l_Lean_Linter_MissingDocs_checkClassAbbrev(x_1, x_2, x_3, x_4);
lean_dec(x_3);
lean_dec(x_1);
return x_5;
}
}
static lean_object* _init_l___regBuiltin_Lean_Linter_MissingDocs_checkClassAbbrev__1___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("classAbbrev", 11, 11);
return x_1;
}
}
static lean_object* _init_l___regBuiltin_Lean_Linter_MissingDocs_checkClassAbbrev__1___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l_Lean_Linter_initFn____x40_Lean_Linter_MissingDocs___hyg_8____closed__7;
x_2 = l_Array_anyMUnsafe_any___at_Lean_Linter_MissingDocs_hasInheritDoc___spec__1___closed__1;
x_3 = l_Lean_Linter_MissingDocs_declModifiersPubNoDoc___closed__1;
x_4 = l___regBuiltin_Lean_Linter_MissingDocs_checkClassAbbrev__1___closed__1;
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
static lean_object* _init_l___regBuiltin_Lean_Linter_MissingDocs_checkClassAbbrev__1___closed__3() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_Linter_MissingDocs_checkClassAbbrev___boxed), 4, 0);
return x_1;
}
}
static lean_object* _init_l___regBuiltin_Lean_Linter_MissingDocs_checkClassAbbrev__1___closed__4() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___regBuiltin_Lean_Linter_MissingDocs_checkClassAbbrev__1___closed__3;
x_2 = lean_alloc_closure((void*)(l_Lean_Linter_MissingDocs_SimpleHandler_toHandler___boxed), 6, 1);
lean_closure_set(x_2, 0, x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l___regBuiltin_Lean_Linter_MissingDocs_checkClassAbbrev__1(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_2 = l___regBuiltin_Lean_Linter_MissingDocs_checkClassAbbrev__1___closed__2;
x_3 = l___regBuiltin_Lean_Linter_MissingDocs_checkClassAbbrev__1___closed__4;
x_4 = l_Lean_Linter_MissingDocs_addBuiltinHandler(x_2, x_3, x_1);
return x_4;
}
}
static lean_object* _init_l_Lean_Linter_MissingDocs_checkSimpLike___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("simp-like tactic", 16, 16);
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_checkSimpLike(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; lean_object* x_6; 
x_5 = l_Lean_Linter_MissingDocs_checkSimpLike___closed__1;
x_6 = l_Lean_Linter_MissingDocs_mkSimpleHandler(x_5, x_1, x_2, x_3, x_4);
return x_6;
}
}
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_checkSimpLike___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; 
x_5 = l_Lean_Linter_MissingDocs_checkSimpLike(x_1, x_2, x_3, x_4);
lean_dec(x_3);
lean_dec(x_1);
return x_5;
}
}
static lean_object* _init_l___regBuiltin_Lean_Linter_MissingDocs_checkSimpLike__1___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("Tactic", 6, 6);
return x_1;
}
}
static lean_object* _init_l___regBuiltin_Lean_Linter_MissingDocs_checkSimpLike__1___closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("declareSimpLikeTactic", 21, 21);
return x_1;
}
}
static lean_object* _init_l___regBuiltin_Lean_Linter_MissingDocs_checkSimpLike__1___closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l_Lean_Linter_initFn____x40_Lean_Linter_MissingDocs___hyg_8____closed__7;
x_2 = l_Array_anyMUnsafe_any___at_Lean_Linter_MissingDocs_hasInheritDoc___spec__1___closed__1;
x_3 = l___regBuiltin_Lean_Linter_MissingDocs_checkSimpLike__1___closed__1;
x_4 = l___regBuiltin_Lean_Linter_MissingDocs_checkSimpLike__1___closed__2;
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
static lean_object* _init_l___regBuiltin_Lean_Linter_MissingDocs_checkSimpLike__1___closed__4() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_Linter_MissingDocs_checkSimpLike___boxed), 4, 0);
return x_1;
}
}
static lean_object* _init_l___regBuiltin_Lean_Linter_MissingDocs_checkSimpLike__1___closed__5() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___regBuiltin_Lean_Linter_MissingDocs_checkSimpLike__1___closed__4;
x_2 = lean_alloc_closure((void*)(l_Lean_Linter_MissingDocs_SimpleHandler_toHandler___boxed), 6, 1);
lean_closure_set(x_2, 0, x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l___regBuiltin_Lean_Linter_MissingDocs_checkSimpLike__1(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_2 = l___regBuiltin_Lean_Linter_MissingDocs_checkSimpLike__1___closed__3;
x_3 = l___regBuiltin_Lean_Linter_MissingDocs_checkSimpLike__1___closed__5;
x_4 = l_Lean_Linter_MissingDocs_addBuiltinHandler(x_2, x_3, x_1);
return x_4;
}
}
static lean_object* _init_l_Lean_Linter_MissingDocs_checkRegisterBuiltinOption___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("option", 6, 6);
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_checkRegisterBuiltinOption(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; lean_object* x_6; 
x_5 = l_Lean_Linter_MissingDocs_checkRegisterBuiltinOption___closed__1;
x_6 = l_Lean_Linter_MissingDocs_mkSimpleHandler(x_5, x_1, x_2, x_3, x_4);
return x_6;
}
}
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_checkRegisterBuiltinOption___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; 
x_5 = l_Lean_Linter_MissingDocs_checkRegisterBuiltinOption(x_1, x_2, x_3, x_4);
lean_dec(x_3);
lean_dec(x_1);
return x_5;
}
}
static lean_object* _init_l___regBuiltin_Lean_Linter_MissingDocs_checkRegisterBuiltinOption__1___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("Option", 6, 6);
return x_1;
}
}
static lean_object* _init_l___regBuiltin_Lean_Linter_MissingDocs_checkRegisterBuiltinOption__1___closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("registerBuiltinOption", 21, 21);
return x_1;
}
}
static lean_object* _init_l___regBuiltin_Lean_Linter_MissingDocs_checkRegisterBuiltinOption__1___closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = l_Lean_Linter_initFn____x40_Lean_Linter_MissingDocs___hyg_8____closed__7;
x_2 = l___regBuiltin_Lean_Linter_MissingDocs_checkRegisterBuiltinOption__1___closed__1;
x_3 = l___regBuiltin_Lean_Linter_MissingDocs_checkRegisterBuiltinOption__1___closed__2;
x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3);
return x_4;
}
}
static lean_object* _init_l___regBuiltin_Lean_Linter_MissingDocs_checkRegisterBuiltinOption__1___closed__4() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_Linter_MissingDocs_checkRegisterBuiltinOption___boxed), 4, 0);
return x_1;
}
}
static lean_object* _init_l___regBuiltin_Lean_Linter_MissingDocs_checkRegisterBuiltinOption__1___closed__5() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___regBuiltin_Lean_Linter_MissingDocs_checkRegisterBuiltinOption__1___closed__4;
x_2 = lean_alloc_closure((void*)(l_Lean_Linter_MissingDocs_SimpleHandler_toHandler___boxed), 6, 1);
lean_closure_set(x_2, 0, x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l___regBuiltin_Lean_Linter_MissingDocs_checkRegisterBuiltinOption__1(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_2 = l___regBuiltin_Lean_Linter_MissingDocs_checkRegisterBuiltinOption__1___closed__3;
x_3 = l___regBuiltin_Lean_Linter_MissingDocs_checkRegisterBuiltinOption__1___closed__5;
x_4 = l_Lean_Linter_MissingDocs_addBuiltinHandler(x_2, x_3, x_1);
return x_4;
}
}
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_checkRegisterOption(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; lean_object* x_6; 
x_5 = l_Lean_Linter_MissingDocs_checkRegisterBuiltinOption___closed__1;
x_6 = l_Lean_Linter_MissingDocs_mkSimpleHandler(x_5, x_1, x_2, x_3, x_4);
return x_6;
}
}
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_checkRegisterOption___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; 
x_5 = l_Lean_Linter_MissingDocs_checkRegisterOption(x_1, x_2, x_3, x_4);
lean_dec(x_3);
lean_dec(x_1);
return x_5;
}
}
static lean_object* _init_l___regBuiltin_Lean_Linter_MissingDocs_checkRegisterOption__1___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("registerOption", 14, 14);
return x_1;
}
}
static lean_object* _init_l___regBuiltin_Lean_Linter_MissingDocs_checkRegisterOption__1___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = l_Lean_Linter_initFn____x40_Lean_Linter_MissingDocs___hyg_8____closed__7;
x_2 = l___regBuiltin_Lean_Linter_MissingDocs_checkRegisterBuiltinOption__1___closed__1;
x_3 = l___regBuiltin_Lean_Linter_MissingDocs_checkRegisterOption__1___closed__1;
x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3);
return x_4;
}
}
static lean_object* _init_l___regBuiltin_Lean_Linter_MissingDocs_checkRegisterOption__1___closed__3() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_Linter_MissingDocs_checkRegisterOption___boxed), 4, 0);
return x_1;
}
}
static lean_object* _init_l___regBuiltin_Lean_Linter_MissingDocs_checkRegisterOption__1___closed__4() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___regBuiltin_Lean_Linter_MissingDocs_checkRegisterOption__1___closed__3;
x_2 = lean_alloc_closure((void*)(l_Lean_Linter_MissingDocs_SimpleHandler_toHandler___boxed), 6, 1);
lean_closure_set(x_2, 0, x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l___regBuiltin_Lean_Linter_MissingDocs_checkRegisterOption__1(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_2 = l___regBuiltin_Lean_Linter_MissingDocs_checkRegisterOption__1___closed__2;
x_3 = l___regBuiltin_Lean_Linter_MissingDocs_checkRegisterOption__1___closed__4;
x_4 = l_Lean_Linter_MissingDocs_addBuiltinHandler(x_2, x_3, x_1);
return x_4;
}
}
static lean_object* _init_l_Lean_Linter_MissingDocs_checkRegisterSimpAttr___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("simp attr", 9, 9);
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_checkRegisterSimpAttr(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; lean_object* x_6; 
x_5 = l_Lean_Linter_MissingDocs_checkRegisterSimpAttr___closed__1;
x_6 = l_Lean_Linter_MissingDocs_mkSimpleHandler(x_5, x_1, x_2, x_3, x_4);
return x_6;
}
}
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_checkRegisterSimpAttr___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; 
x_5 = l_Lean_Linter_MissingDocs_checkRegisterSimpAttr(x_1, x_2, x_3, x_4);
lean_dec(x_3);
lean_dec(x_1);
return x_5;
}
}
static lean_object* _init_l___regBuiltin_Lean_Linter_MissingDocs_checkRegisterSimpAttr__1___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("registerSimpAttr", 16, 16);
return x_1;
}
}
static lean_object* _init_l___regBuiltin_Lean_Linter_MissingDocs_checkRegisterSimpAttr__1___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l_Lean_Linter_initFn____x40_Lean_Linter_MissingDocs___hyg_8____closed__7;
x_2 = l_Array_anyMUnsafe_any___at_Lean_Linter_MissingDocs_hasInheritDoc___spec__1___closed__1;
x_3 = l_Lean_Linter_MissingDocs_declModifiersPubNoDoc___closed__1;
x_4 = l___regBuiltin_Lean_Linter_MissingDocs_checkRegisterSimpAttr__1___closed__1;
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
static lean_object* _init_l___regBuiltin_Lean_Linter_MissingDocs_checkRegisterSimpAttr__1___closed__3() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_Linter_MissingDocs_checkRegisterSimpAttr___boxed), 4, 0);
return x_1;
}
}
static lean_object* _init_l___regBuiltin_Lean_Linter_MissingDocs_checkRegisterSimpAttr__1___closed__4() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___regBuiltin_Lean_Linter_MissingDocs_checkRegisterSimpAttr__1___closed__3;
x_2 = lean_alloc_closure((void*)(l_Lean_Linter_MissingDocs_SimpleHandler_toHandler___boxed), 6, 1);
lean_closure_set(x_2, 0, x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l___regBuiltin_Lean_Linter_MissingDocs_checkRegisterSimpAttr__1(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_2 = l___regBuiltin_Lean_Linter_MissingDocs_checkRegisterSimpAttr__1___closed__2;
x_3 = l___regBuiltin_Lean_Linter_MissingDocs_checkRegisterSimpAttr__1___closed__4;
x_4 = l_Lean_Linter_MissingDocs_addBuiltinHandler(x_2, x_3, x_1);
return x_4;
}
}
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_handleIn___rarg___lambda__1(lean_object* x_1, lean_object* x_2) {
_start:
{
uint8_t x_3; 
x_3 = !lean_is_exclusive(x_2);
if (x_3 == 0)
{
lean_object* x_4; 
x_4 = lean_ctor_get(x_2, 1);
lean_dec(x_4);
lean_ctor_set(x_2, 1, x_1);
return x_2;
}
else
{
lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; lean_object* x_12; 
x_5 = lean_ctor_get(x_2, 0);
x_6 = lean_ctor_get(x_2, 2);
x_7 = lean_ctor_get(x_2, 3);
x_8 = lean_ctor_get(x_2, 4);
x_9 = lean_ctor_get(x_2, 5);
x_10 = lean_ctor_get(x_2, 6);
x_11 = lean_ctor_get_uint8(x_2, sizeof(void*)*7);
lean_inc(x_10);
lean_inc(x_9);
lean_inc(x_8);
lean_inc(x_7);
lean_inc(x_6);
lean_inc(x_5);
lean_dec(x_2);
x_12 = lean_alloc_ctor(0, 7, 1);
lean_ctor_set(x_12, 0, x_5);
lean_ctor_set(x_12, 1, x_1);
lean_ctor_set(x_12, 2, x_6);
lean_ctor_set(x_12, 3, x_7);
lean_ctor_set(x_12, 4, x_8);
lean_ctor_set(x_12, 5, x_9);
lean_ctor_set(x_12, 6, x_10);
lean_ctor_set_uint8(x_12, sizeof(void*)*7, x_11);
return x_12;
}
}
}
static lean_object* _init_l_Lean_Linter_MissingDocs_handleIn___rarg___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("set_option", 10, 10);
return x_1;
}
}
static lean_object* _init_l_Lean_Linter_MissingDocs_handleIn___rarg___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l_Lean_Linter_initFn____x40_Lean_Linter_MissingDocs___hyg_8____closed__7;
x_2 = l_Array_anyMUnsafe_any___at_Lean_Linter_MissingDocs_hasInheritDoc___spec__1___closed__1;
x_3 = l_Lean_Linter_MissingDocs_declModifiersPubNoDoc___closed__1;
x_4 = l_Lean_Linter_MissingDocs_handleIn___rarg___closed__1;
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_handleIn___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; 
x_5 = lean_unsigned_to_nat(0u);
x_6 = l_Lean_Syntax_getArg(x_1, x_5);
lean_inc(x_6);
x_7 = l_Lean_Syntax_getKind(x_6);
x_8 = l_Lean_Linter_MissingDocs_handleIn___rarg___closed__2;
x_9 = lean_name_eq(x_7, x_8);
lean_dec(x_7);
if (x_9 == 0)
{
lean_object* x_10; lean_object* x_11; lean_object* x_12; 
lean_dec(x_6);
x_10 = lean_unsigned_to_nat(2u);
x_11 = l_Lean_Syntax_getArg(x_1, x_10);
x_12 = l_Lean_Linter_MissingDocs_missingDocs___elambda__1(x_11, x_2, x_3, x_4);
return x_12;
}
else
{
lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; 
x_13 = lean_unsigned_to_nat(1u);
x_14 = l_Lean_Syntax_getArg(x_6, x_13);
x_15 = lean_unsigned_to_nat(3u);
x_16 = l_Lean_Syntax_getArg(x_6, x_15);
lean_dec(x_6);
lean_inc(x_2);
x_17 = l_Lean_Elab_elabSetOption___at_Lean_withSetOptionIn___spec__1(x_14, x_16, x_2, x_3, x_4);
if (lean_obj_tag(x_17) == 0)
{
lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; 
x_18 = lean_ctor_get(x_17, 0);
lean_inc(x_18);
x_19 = lean_ctor_get(x_17, 1);
lean_inc(x_19);
lean_dec(x_17);
x_20 = lean_alloc_closure((void*)(l_Lean_Linter_MissingDocs_handleIn___rarg___lambda__1), 2, 1);
lean_closure_set(x_20, 0, x_18);
x_21 = lean_unsigned_to_nat(2u);
x_22 = l_Lean_Syntax_getArg(x_1, x_21);
x_23 = lean_alloc_closure((void*)(l_Lean_Linter_MissingDocs_missingDocs___elambda__1), 4, 1);
lean_closure_set(x_23, 0, x_22);
x_24 = l_Lean_Elab_Command_withScope___rarg(x_20, x_23, x_2, x_3, x_19);
return x_24;
}
else
{
uint8_t x_25; 
lean_dec(x_3);
lean_dec(x_2);
x_25 = !lean_is_exclusive(x_17);
if (x_25 == 0)
{
return x_17;
}
else
{
lean_object* x_26; lean_object* x_27; lean_object* x_28; 
x_26 = lean_ctor_get(x_17, 0);
x_27 = lean_ctor_get(x_17, 1);
lean_inc(x_27);
lean_inc(x_26);
lean_dec(x_17);
x_28 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_28, 0, x_26);
lean_ctor_set(x_28, 1, x_27);
return x_28;
}
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_handleIn(uint8_t x_1) {
_start:
{
lean_object* x_2; 
x_2 = lean_alloc_closure((void*)(l_Lean_Linter_MissingDocs_handleIn___rarg___boxed), 4, 0);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_handleIn___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; 
x_5 = l_Lean_Linter_MissingDocs_handleIn___rarg(x_1, x_2, x_3, x_4);
lean_dec(x_1);
return x_5;
}
}
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_handleIn___boxed(lean_object* x_1) {
_start:
{
uint8_t x_2; lean_object* x_3; 
x_2 = lean_unbox(x_1);
lean_dec(x_1);
x_3 = l_Lean_Linter_MissingDocs_handleIn(x_2);
return x_3;
}
}
static lean_object* _init_l___regBuiltin_Lean_Linter_MissingDocs_handleIn__1___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("in", 2, 2);
return x_1;
}
}
static lean_object* _init_l___regBuiltin_Lean_Linter_MissingDocs_handleIn__1___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l_Lean_Linter_initFn____x40_Lean_Linter_MissingDocs___hyg_8____closed__7;
x_2 = l_Array_anyMUnsafe_any___at_Lean_Linter_MissingDocs_hasInheritDoc___spec__1___closed__1;
x_3 = l_Lean_Linter_MissingDocs_declModifiersPubNoDoc___closed__1;
x_4 = l___regBuiltin_Lean_Linter_MissingDocs_handleIn__1___closed__1;
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
static lean_object* _init_l___regBuiltin_Lean_Linter_MissingDocs_handleIn__1___closed__3() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_Linter_MissingDocs_handleIn___boxed), 1, 0);
return x_1;
}
}
LEAN_EXPORT lean_object* l___regBuiltin_Lean_Linter_MissingDocs_handleIn__1(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_2 = l___regBuiltin_Lean_Linter_MissingDocs_handleIn__1___closed__2;
x_3 = l___regBuiltin_Lean_Linter_MissingDocs_handleIn__1___closed__3;
x_4 = l_Lean_Linter_MissingDocs_addBuiltinHandler(x_2, x_3, x_1);
return x_4;
}
}
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Linter_MissingDocs_handleMutual___spec__1(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
_start:
{
uint8_t x_8; 
x_8 = lean_usize_dec_eq(x_2, x_3);
if (x_8 == 0)
{
lean_object* x_9; lean_object* x_10; 
lean_dec(x_4);
x_9 = lean_array_uget(x_1, x_2);
lean_inc(x_6);
lean_inc(x_5);
x_10 = l_Lean_Linter_MissingDocs_missingDocs___elambda__1(x_9, x_5, x_6, x_7);
if (lean_obj_tag(x_10) == 0)
{
lean_object* x_11; lean_object* x_12; size_t x_13; size_t x_14; 
x_11 = lean_ctor_get(x_10, 0);
lean_inc(x_11);
x_12 = lean_ctor_get(x_10, 1);
lean_inc(x_12);
lean_dec(x_10);
x_13 = 1;
x_14 = lean_usize_add(x_2, x_13);
x_2 = x_14;
x_4 = x_11;
x_7 = x_12;
goto _start;
}
else
{
uint8_t x_16; 
lean_dec(x_6);
lean_dec(x_5);
x_16 = !lean_is_exclusive(x_10);
if (x_16 == 0)
{
return x_10;
}
else
{
lean_object* x_17; lean_object* x_18; lean_object* x_19; 
x_17 = lean_ctor_get(x_10, 0);
x_18 = lean_ctor_get(x_10, 1);
lean_inc(x_18);
lean_inc(x_17);
lean_dec(x_10);
x_19 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_19, 0, x_17);
lean_ctor_set(x_19, 1, x_18);
return x_19;
}
}
}
else
{
lean_object* x_20; 
lean_dec(x_6);
lean_dec(x_5);
x_20 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_20, 0, x_4);
lean_ctor_set(x_20, 1, x_7);
return x_20;
}
}
}
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_handleMutual___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; 
x_5 = lean_unsigned_to_nat(1u);
x_6 = l_Lean_Syntax_getArg(x_1, x_5);
x_7 = l_Lean_Syntax_getArgs(x_6);
lean_dec(x_6);
x_8 = lean_array_get_size(x_7);
x_9 = lean_unsigned_to_nat(0u);
x_10 = lean_nat_dec_lt(x_9, x_8);
if (x_10 == 0)
{
lean_object* x_11; lean_object* x_12; 
lean_dec(x_8);
lean_dec(x_7);
lean_dec(x_3);
lean_dec(x_2);
x_11 = lean_box(0);
x_12 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_12, 0, x_11);
lean_ctor_set(x_12, 1, x_4);
return x_12;
}
else
{
uint8_t x_13; 
x_13 = lean_nat_dec_le(x_8, x_8);
if (x_13 == 0)
{
lean_object* x_14; lean_object* x_15; 
lean_dec(x_8);
lean_dec(x_7);
lean_dec(x_3);
lean_dec(x_2);
x_14 = lean_box(0);
x_15 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_15, 0, x_14);
lean_ctor_set(x_15, 1, x_4);
return x_15;
}
else
{
size_t x_16; size_t x_17; lean_object* x_18; lean_object* x_19; 
x_16 = 0;
x_17 = lean_usize_of_nat(x_8);
lean_dec(x_8);
x_18 = lean_box(0);
x_19 = l_Array_foldlMUnsafe_fold___at_Lean_Linter_MissingDocs_handleMutual___spec__1(x_7, x_16, x_17, x_18, x_2, x_3, x_4);
lean_dec(x_7);
return x_19;
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_handleMutual(uint8_t x_1) {
_start:
{
lean_object* x_2; 
x_2 = lean_alloc_closure((void*)(l_Lean_Linter_MissingDocs_handleMutual___rarg___boxed), 4, 0);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Linter_MissingDocs_handleMutual___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
_start:
{
size_t x_8; size_t x_9; lean_object* x_10; 
x_8 = lean_unbox_usize(x_2);
lean_dec(x_2);
x_9 = lean_unbox_usize(x_3);
lean_dec(x_3);
x_10 = l_Array_foldlMUnsafe_fold___at_Lean_Linter_MissingDocs_handleMutual___spec__1(x_1, x_8, x_9, x_4, x_5, x_6, x_7);
lean_dec(x_1);
return x_10;
}
}
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_handleMutual___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; 
x_5 = l_Lean_Linter_MissingDocs_handleMutual___rarg(x_1, x_2, x_3, x_4);
lean_dec(x_1);
return x_5;
}
}
LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_handleMutual___boxed(lean_object* x_1) {
_start:
{
uint8_t x_2; lean_object* x_3; 
x_2 = lean_unbox(x_1);
lean_dec(x_1);
x_3 = l_Lean_Linter_MissingDocs_handleMutual(x_2);
return x_3;
}
}
static lean_object* _init_l___regBuiltin_Lean_Linter_MissingDocs_handleMutual__1___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("mutual", 6, 6);
return x_1;
}
}
static lean_object* _init_l___regBuiltin_Lean_Linter_MissingDocs_handleMutual__1___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l_Lean_Linter_initFn____x40_Lean_Linter_MissingDocs___hyg_8____closed__7;
x_2 = l_Array_anyMUnsafe_any___at_Lean_Linter_MissingDocs_hasInheritDoc___spec__1___closed__1;
x_3 = l_Lean_Linter_MissingDocs_declModifiersPubNoDoc___closed__1;
x_4 = l___regBuiltin_Lean_Linter_MissingDocs_handleMutual__1___closed__1;
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
static lean_object* _init_l___regBuiltin_Lean_Linter_MissingDocs_handleMutual__1___closed__3() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_Linter_MissingDocs_handleMutual___boxed), 1, 0);
return x_1;
}
}
LEAN_EXPORT lean_object* l___regBuiltin_Lean_Linter_MissingDocs_handleMutual__1(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_2 = l___regBuiltin_Lean_Linter_MissingDocs_handleMutual__1___closed__2;
x_3 = l___regBuiltin_Lean_Linter_MissingDocs_handleMutual__1___closed__3;
x_4 = l_Lean_Linter_MissingDocs_addBuiltinHandler(x_2, x_3, x_1);
return x_4;
}
}
lean_object* initialize_Lean_Meta_Tactic_Simp_RegisterCommand(uint8_t builtin, lean_object*);
lean_object* initialize_Lean_Elab_Command(uint8_t builtin, lean_object*);
lean_object* initialize_Lean_Elab_SetOption(uint8_t builtin, lean_object*);
lean_object* initialize_Lean_Linter_Util(uint8_t builtin, lean_object*);
static bool _G_initialized = false;
LEAN_EXPORT lean_object* initialize_Lean_Linter_MissingDocs(uint8_t builtin, lean_object* w) {
lean_object * res;
if (_G_initialized) return lean_io_result_mk_ok(lean_box(0));
_G_initialized = true;
res = initialize_Lean_Meta_Tactic_Simp_RegisterCommand(builtin, lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = initialize_Lean_Elab_Command(builtin, lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = initialize_Lean_Elab_SetOption(builtin, lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = initialize_Lean_Linter_Util(builtin, lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
l_Lean_Linter_initFn____x40_Lean_Linter_MissingDocs___hyg_8____closed__1 = _init_l_Lean_Linter_initFn____x40_Lean_Linter_MissingDocs___hyg_8____closed__1();
lean_mark_persistent(l_Lean_Linter_initFn____x40_Lean_Linter_MissingDocs___hyg_8____closed__1);
l_Lean_Linter_initFn____x40_Lean_Linter_MissingDocs___hyg_8____closed__2 = _init_l_Lean_Linter_initFn____x40_Lean_Linter_MissingDocs___hyg_8____closed__2();
lean_mark_persistent(l_Lean_Linter_initFn____x40_Lean_Linter_MissingDocs___hyg_8____closed__2);
l_Lean_Linter_initFn____x40_Lean_Linter_MissingDocs___hyg_8____closed__3 = _init_l_Lean_Linter_initFn____x40_Lean_Linter_MissingDocs___hyg_8____closed__3();
lean_mark_persistent(l_Lean_Linter_initFn____x40_Lean_Linter_MissingDocs___hyg_8____closed__3);
l_Lean_Linter_initFn____x40_Lean_Linter_MissingDocs___hyg_8____closed__4 = _init_l_Lean_Linter_initFn____x40_Lean_Linter_MissingDocs___hyg_8____closed__4();
lean_mark_persistent(l_Lean_Linter_initFn____x40_Lean_Linter_MissingDocs___hyg_8____closed__4);
l_Lean_Linter_initFn____x40_Lean_Linter_MissingDocs___hyg_8____closed__5 = _init_l_Lean_Linter_initFn____x40_Lean_Linter_MissingDocs___hyg_8____closed__5();
lean_mark_persistent(l_Lean_Linter_initFn____x40_Lean_Linter_MissingDocs___hyg_8____closed__5);
l_Lean_Linter_initFn____x40_Lean_Linter_MissingDocs___hyg_8____closed__6 = _init_l_Lean_Linter_initFn____x40_Lean_Linter_MissingDocs___hyg_8____closed__6();
lean_mark_persistent(l_Lean_Linter_initFn____x40_Lean_Linter_MissingDocs___hyg_8____closed__6);
l_Lean_Linter_initFn____x40_Lean_Linter_MissingDocs___hyg_8____closed__7 = _init_l_Lean_Linter_initFn____x40_Lean_Linter_MissingDocs___hyg_8____closed__7();
lean_mark_persistent(l_Lean_Linter_initFn____x40_Lean_Linter_MissingDocs___hyg_8____closed__7);
l_Lean_Linter_initFn____x40_Lean_Linter_MissingDocs___hyg_8____closed__8 = _init_l_Lean_Linter_initFn____x40_Lean_Linter_MissingDocs___hyg_8____closed__8();
lean_mark_persistent(l_Lean_Linter_initFn____x40_Lean_Linter_MissingDocs___hyg_8____closed__8);
l_Lean_Linter_initFn____x40_Lean_Linter_MissingDocs___hyg_8____closed__9 = _init_l_Lean_Linter_initFn____x40_Lean_Linter_MissingDocs___hyg_8____closed__9();
lean_mark_persistent(l_Lean_Linter_initFn____x40_Lean_Linter_MissingDocs___hyg_8____closed__9);
if (builtin) {res = l_Lean_Linter_initFn____x40_Lean_Linter_MissingDocs___hyg_8_(lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
l_Lean_Linter_linter_missingDocs = lean_io_result_get_value(res);
lean_mark_persistent(l_Lean_Linter_linter_missingDocs);
lean_dec_ref(res);
}l_Lean_Linter_getLinterMissingDocs___closed__1 = _init_l_Lean_Linter_getLinterMissingDocs___closed__1();
lean_mark_persistent(l_Lean_Linter_getLinterMissingDocs___closed__1);
l_Lean_Linter_MissingDocs_mkHandlerUnsafe___closed__1 = _init_l_Lean_Linter_MissingDocs_mkHandlerUnsafe___closed__1();
lean_mark_persistent(l_Lean_Linter_MissingDocs_mkHandlerUnsafe___closed__1);
l_Lean_Linter_MissingDocs_mkHandlerUnsafe___closed__2 = _init_l_Lean_Linter_MissingDocs_mkHandlerUnsafe___closed__2();
lean_mark_persistent(l_Lean_Linter_MissingDocs_mkHandlerUnsafe___closed__2);
l_Lean_Linter_MissingDocs_mkHandlerUnsafe___closed__3 = _init_l_Lean_Linter_MissingDocs_mkHandlerUnsafe___closed__3();
lean_mark_persistent(l_Lean_Linter_MissingDocs_mkHandlerUnsafe___closed__3);
l_Lean_Linter_MissingDocs_mkHandlerUnsafe___closed__4 = _init_l_Lean_Linter_MissingDocs_mkHandlerUnsafe___closed__4();
lean_mark_persistent(l_Lean_Linter_MissingDocs_mkHandlerUnsafe___closed__4);
l_Lean_Linter_MissingDocs_mkHandlerUnsafe___closed__5 = _init_l_Lean_Linter_MissingDocs_mkHandlerUnsafe___closed__5();
lean_mark_persistent(l_Lean_Linter_MissingDocs_mkHandlerUnsafe___closed__5);
l_Lean_Linter_MissingDocs_mkHandlerUnsafe___closed__6 = _init_l_Lean_Linter_MissingDocs_mkHandlerUnsafe___closed__6();
lean_mark_persistent(l_Lean_Linter_MissingDocs_mkHandlerUnsafe___closed__6);
l_Lean_Linter_MissingDocs_mkHandlerUnsafe___closed__7 = _init_l_Lean_Linter_MissingDocs_mkHandlerUnsafe___closed__7();
lean_mark_persistent(l_Lean_Linter_MissingDocs_mkHandlerUnsafe___closed__7);
if (builtin) {res = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_332_(lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
l_Lean_Linter_MissingDocs_builtinHandlersRef = lean_io_result_get_value(res);
lean_mark_persistent(l_Lean_Linter_MissingDocs_builtinHandlersRef);
lean_dec_ref(res);
}l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_374____lambda__1___closed__1 = _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_374____lambda__1___closed__1();
lean_mark_persistent(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_374____lambda__1___closed__1);
l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_374____lambda__6___closed__1 = _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_374____lambda__6___closed__1();
lean_mark_persistent(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_374____lambda__6___closed__1);
l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_374____lambda__6___closed__2 = _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_374____lambda__6___closed__2();
lean_mark_persistent(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_374____lambda__6___closed__2);
l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_374____closed__1 = _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_374____closed__1();
lean_mark_persistent(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_374____closed__1);
l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_374____closed__2 = _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_374____closed__2();
lean_mark_persistent(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_374____closed__2);
l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_374____closed__3 = _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_374____closed__3();
lean_mark_persistent(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_374____closed__3);
l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_374____closed__4 = _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_374____closed__4();
lean_mark_persistent(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_374____closed__4);
l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_374____closed__5 = _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_374____closed__5();
lean_mark_persistent(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_374____closed__5);
l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_374____closed__6 = _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_374____closed__6();
lean_mark_persistent(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_374____closed__6);
l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_374____closed__7 = _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_374____closed__7();
lean_mark_persistent(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_374____closed__7);
l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_374____closed__8 = _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_374____closed__8();
lean_mark_persistent(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_374____closed__8);
l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_374____closed__9 = _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_374____closed__9();
lean_mark_persistent(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_374____closed__9);
l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_374____closed__10 = _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_374____closed__10();
lean_mark_persistent(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_374____closed__10);
if (builtin) {res = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_374_(lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
l_Lean_Linter_MissingDocs_missingDocsExt = lean_io_result_get_value(res);
lean_mark_persistent(l_Lean_Linter_MissingDocs_missingDocsExt);
lean_dec_ref(res);
}l_Lean_Linter_MissingDocs_addHandler___closed__1 = _init_l_Lean_Linter_MissingDocs_addHandler___closed__1();
lean_mark_persistent(l_Lean_Linter_MissingDocs_addHandler___closed__1);
l_Lean_Linter_MissingDocs_getHandlers___closed__1 = _init_l_Lean_Linter_MissingDocs_getHandlers___closed__1();
lean_mark_persistent(l_Lean_Linter_MissingDocs_getHandlers___closed__1);
l_Lean_Linter_MissingDocs_missingDocs___closed__1 = _init_l_Lean_Linter_MissingDocs_missingDocs___closed__1();
lean_mark_persistent(l_Lean_Linter_MissingDocs_missingDocs___closed__1);
l_Lean_Linter_MissingDocs_missingDocs___closed__2 = _init_l_Lean_Linter_MissingDocs_missingDocs___closed__2();
lean_mark_persistent(l_Lean_Linter_MissingDocs_missingDocs___closed__2);
l_Lean_Linter_MissingDocs_missingDocs___closed__3 = _init_l_Lean_Linter_MissingDocs_missingDocs___closed__3();
lean_mark_persistent(l_Lean_Linter_MissingDocs_missingDocs___closed__3);
l_Lean_Linter_MissingDocs_missingDocs = _init_l_Lean_Linter_MissingDocs_missingDocs();
lean_mark_persistent(l_Lean_Linter_MissingDocs_missingDocs);
if (builtin) {res = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_778_(lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
}l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__1___closed__1 = _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__1___closed__1();
lean_mark_persistent(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__1___closed__1);
l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__1___closed__2 = _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__1___closed__2();
lean_mark_persistent(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__1___closed__2);
l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__1___closed__3 = _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__1___closed__3();
lean_mark_persistent(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__1___closed__3);
l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__1___closed__4 = _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__1___closed__4();
lean_mark_persistent(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__1___closed__4);
l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__1___closed__5 = _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__1___closed__5();
lean_mark_persistent(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__1___closed__5);
l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__1___closed__6 = _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__1___closed__6();
lean_mark_persistent(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__1___closed__6);
l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__1___closed__7 = _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__1___closed__7();
lean_mark_persistent(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__1___closed__7);
l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__1___closed__8 = _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__1___closed__8();
lean_mark_persistent(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__1___closed__8);
l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__2___closed__1 = _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__2___closed__1();
lean_mark_persistent(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__2___closed__1);
l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__2___closed__2 = _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__2___closed__2();
lean_mark_persistent(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__2___closed__2);
l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__2___closed__3 = _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__2___closed__3();
lean_mark_persistent(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__2___closed__3);
l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__2___closed__4 = _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__2___closed__4();
lean_mark_persistent(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__2___closed__4);
l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__2___closed__5 = _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__2___closed__5();
lean_mark_persistent(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__2___closed__5);
l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__4___closed__1 = _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__4___closed__1();
lean_mark_persistent(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__4___closed__1);
l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__4___closed__2 = _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__4___closed__2();
lean_mark_persistent(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__4___closed__2);
l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__4___closed__3 = _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__4___closed__3();
lean_mark_persistent(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__4___closed__3);
l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__4___closed__4 = _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__4___closed__4();
lean_mark_persistent(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__4___closed__4);
l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__5___closed__1 = _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__5___closed__1();
lean_mark_persistent(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__5___closed__1);
l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__5___closed__2 = _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__5___closed__2();
lean_mark_persistent(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__5___closed__2);
l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__8___closed__1 = _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__8___closed__1();
lean_mark_persistent(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__8___closed__1);
l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__8___closed__2 = _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__8___closed__2();
lean_mark_persistent(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____lambda__8___closed__2);
l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__1 = _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__1();
lean_mark_persistent(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__1);
l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__2 = _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__2();
lean_mark_persistent(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__2);
l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__3 = _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__3();
lean_mark_persistent(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__3);
l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__4 = _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__4();
lean_mark_persistent(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__4);
l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__5 = _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__5();
lean_mark_persistent(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__5);
l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__6 = _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__6();
lean_mark_persistent(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__6);
l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__7 = _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__7();
lean_mark_persistent(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__7);
l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__8 = _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__8();
lean_mark_persistent(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__8);
l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__9 = _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__9();
lean_mark_persistent(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__9);
l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__10 = _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__10();
lean_mark_persistent(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__10);
l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__11 = _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__11();
lean_mark_persistent(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__11);
l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__12 = _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__12();
lean_mark_persistent(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__12);
l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__13 = _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__13();
lean_mark_persistent(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__13);
l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__14 = _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__14();
lean_mark_persistent(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__14);
l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__15 = _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__15();
lean_mark_persistent(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__15);
l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__16 = _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__16();
lean_mark_persistent(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__16);
l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__17 = _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__17();
lean_mark_persistent(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__17);
l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__18 = _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__18();
lean_mark_persistent(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__18);
l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__19 = _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__19();
lean_mark_persistent(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__19);
l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__20 = _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__20();
lean_mark_persistent(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__20);
l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__21 = _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__21();
lean_mark_persistent(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__21);
l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__22 = _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__22();
lean_mark_persistent(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__22);
l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__23 = _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__23();
lean_mark_persistent(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__23);
l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__24 = _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__24();
lean_mark_persistent(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810____closed__24);
if (builtin) {res = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_810_(lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
}l_Lean_Linter_logLint___at_Lean_Linter_MissingDocs_lint___spec__1___closed__1 = _init_l_Lean_Linter_logLint___at_Lean_Linter_MissingDocs_lint___spec__1___closed__1();
lean_mark_persistent(l_Lean_Linter_logLint___at_Lean_Linter_MissingDocs_lint___spec__1___closed__1);
l_Lean_Linter_logLint___at_Lean_Linter_MissingDocs_lint___spec__1___closed__2 = _init_l_Lean_Linter_logLint___at_Lean_Linter_MissingDocs_lint___spec__1___closed__2();
lean_mark_persistent(l_Lean_Linter_logLint___at_Lean_Linter_MissingDocs_lint___spec__1___closed__2);
l_Lean_Linter_logLint___at_Lean_Linter_MissingDocs_lint___spec__1___closed__3 = _init_l_Lean_Linter_logLint___at_Lean_Linter_MissingDocs_lint___spec__1___closed__3();
lean_mark_persistent(l_Lean_Linter_logLint___at_Lean_Linter_MissingDocs_lint___spec__1___closed__3);
l_Lean_Linter_logLint___at_Lean_Linter_MissingDocs_lint___spec__1___closed__4 = _init_l_Lean_Linter_logLint___at_Lean_Linter_MissingDocs_lint___spec__1___closed__4();
lean_mark_persistent(l_Lean_Linter_logLint___at_Lean_Linter_MissingDocs_lint___spec__1___closed__4);
l_Lean_Linter_logLint___at_Lean_Linter_MissingDocs_lint___spec__1___closed__5 = _init_l_Lean_Linter_logLint___at_Lean_Linter_MissingDocs_lint___spec__1___closed__5();
lean_mark_persistent(l_Lean_Linter_logLint___at_Lean_Linter_MissingDocs_lint___spec__1___closed__5);
l_Lean_Linter_logLint___at_Lean_Linter_MissingDocs_lint___spec__1___closed__6 = _init_l_Lean_Linter_logLint___at_Lean_Linter_MissingDocs_lint___spec__1___closed__6();
lean_mark_persistent(l_Lean_Linter_logLint___at_Lean_Linter_MissingDocs_lint___spec__1___closed__6);
l_Lean_Linter_logLint___at_Lean_Linter_MissingDocs_lint___spec__1___closed__7 = _init_l_Lean_Linter_logLint___at_Lean_Linter_MissingDocs_lint___spec__1___closed__7();
lean_mark_persistent(l_Lean_Linter_logLint___at_Lean_Linter_MissingDocs_lint___spec__1___closed__7);
l_Lean_Linter_MissingDocs_lint___closed__1 = _init_l_Lean_Linter_MissingDocs_lint___closed__1();
lean_mark_persistent(l_Lean_Linter_MissingDocs_lint___closed__1);
l_Lean_Linter_MissingDocs_lint___closed__2 = _init_l_Lean_Linter_MissingDocs_lint___closed__2();
lean_mark_persistent(l_Lean_Linter_MissingDocs_lint___closed__2);
l_Lean_Linter_MissingDocs_lintNamed___closed__1 = _init_l_Lean_Linter_MissingDocs_lintNamed___closed__1();
lean_mark_persistent(l_Lean_Linter_MissingDocs_lintNamed___closed__1);
l_Lean_Linter_MissingDocs_lintField___closed__1 = _init_l_Lean_Linter_MissingDocs_lintField___closed__1();
lean_mark_persistent(l_Lean_Linter_MissingDocs_lintField___closed__1);
l_Array_anyMUnsafe_any___at_Lean_Linter_MissingDocs_hasInheritDoc___spec__1___closed__1 = _init_l_Array_anyMUnsafe_any___at_Lean_Linter_MissingDocs_hasInheritDoc___spec__1___closed__1();
lean_mark_persistent(l_Array_anyMUnsafe_any___at_Lean_Linter_MissingDocs_hasInheritDoc___spec__1___closed__1);
l_Array_anyMUnsafe_any___at_Lean_Linter_MissingDocs_hasInheritDoc___spec__1___closed__2 = _init_l_Array_anyMUnsafe_any___at_Lean_Linter_MissingDocs_hasInheritDoc___spec__1___closed__2();
lean_mark_persistent(l_Array_anyMUnsafe_any___at_Lean_Linter_MissingDocs_hasInheritDoc___spec__1___closed__2);
l_Array_anyMUnsafe_any___at_Lean_Linter_MissingDocs_hasInheritDoc___spec__1___closed__3 = _init_l_Array_anyMUnsafe_any___at_Lean_Linter_MissingDocs_hasInheritDoc___spec__1___closed__3();
lean_mark_persistent(l_Array_anyMUnsafe_any___at_Lean_Linter_MissingDocs_hasInheritDoc___spec__1___closed__3);
l_Array_anyMUnsafe_any___at_Lean_Linter_MissingDocs_hasInheritDoc___spec__1___closed__4 = _init_l_Array_anyMUnsafe_any___at_Lean_Linter_MissingDocs_hasInheritDoc___spec__1___closed__4();
lean_mark_persistent(l_Array_anyMUnsafe_any___at_Lean_Linter_MissingDocs_hasInheritDoc___spec__1___closed__4);
l_Array_anyMUnsafe_any___at_Lean_Linter_MissingDocs_hasInheritDoc___spec__1___closed__5 = _init_l_Array_anyMUnsafe_any___at_Lean_Linter_MissingDocs_hasInheritDoc___spec__1___closed__5();
lean_mark_persistent(l_Array_anyMUnsafe_any___at_Lean_Linter_MissingDocs_hasInheritDoc___spec__1___closed__5);
l_Array_anyMUnsafe_any___at_Lean_Linter_MissingDocs_hasInheritDoc___spec__1___closed__6 = _init_l_Array_anyMUnsafe_any___at_Lean_Linter_MissingDocs_hasInheritDoc___spec__1___closed__6();
lean_mark_persistent(l_Array_anyMUnsafe_any___at_Lean_Linter_MissingDocs_hasInheritDoc___spec__1___closed__6);
l_Lean_Linter_MissingDocs_declModifiersPubNoDoc___closed__1 = _init_l_Lean_Linter_MissingDocs_declModifiersPubNoDoc___closed__1();
lean_mark_persistent(l_Lean_Linter_MissingDocs_declModifiersPubNoDoc___closed__1);
l_Lean_Linter_MissingDocs_declModifiersPubNoDoc___closed__2 = _init_l_Lean_Linter_MissingDocs_declModifiersPubNoDoc___closed__2();
lean_mark_persistent(l_Lean_Linter_MissingDocs_declModifiersPubNoDoc___closed__2);
l_Lean_Linter_MissingDocs_declModifiersPubNoDoc___closed__3 = _init_l_Lean_Linter_MissingDocs_declModifiersPubNoDoc___closed__3();
lean_mark_persistent(l_Lean_Linter_MissingDocs_declModifiersPubNoDoc___closed__3);
l_Lean_Linter_MissingDocs_lintDeclHead___closed__1 = _init_l_Lean_Linter_MissingDocs_lintDeclHead___closed__1();
lean_mark_persistent(l_Lean_Linter_MissingDocs_lintDeclHead___closed__1);
l_Lean_Linter_MissingDocs_lintDeclHead___closed__2 = _init_l_Lean_Linter_MissingDocs_lintDeclHead___closed__2();
lean_mark_persistent(l_Lean_Linter_MissingDocs_lintDeclHead___closed__2);
l_Lean_Linter_MissingDocs_lintDeclHead___closed__3 = _init_l_Lean_Linter_MissingDocs_lintDeclHead___closed__3();
lean_mark_persistent(l_Lean_Linter_MissingDocs_lintDeclHead___closed__3);
l_Lean_Linter_MissingDocs_lintDeclHead___closed__4 = _init_l_Lean_Linter_MissingDocs_lintDeclHead___closed__4();
lean_mark_persistent(l_Lean_Linter_MissingDocs_lintDeclHead___closed__4);
l_Lean_Linter_MissingDocs_lintDeclHead___closed__5 = _init_l_Lean_Linter_MissingDocs_lintDeclHead___closed__5();
lean_mark_persistent(l_Lean_Linter_MissingDocs_lintDeclHead___closed__5);
l_Lean_Linter_MissingDocs_lintDeclHead___closed__6 = _init_l_Lean_Linter_MissingDocs_lintDeclHead___closed__6();
lean_mark_persistent(l_Lean_Linter_MissingDocs_lintDeclHead___closed__6);
l_Lean_Linter_MissingDocs_lintDeclHead___closed__7 = _init_l_Lean_Linter_MissingDocs_lintDeclHead___closed__7();
lean_mark_persistent(l_Lean_Linter_MissingDocs_lintDeclHead___closed__7);
l_Lean_Linter_MissingDocs_lintDeclHead___closed__8 = _init_l_Lean_Linter_MissingDocs_lintDeclHead___closed__8();
lean_mark_persistent(l_Lean_Linter_MissingDocs_lintDeclHead___closed__8);
l_Lean_Linter_MissingDocs_lintDeclHead___closed__9 = _init_l_Lean_Linter_MissingDocs_lintDeclHead___closed__9();
lean_mark_persistent(l_Lean_Linter_MissingDocs_lintDeclHead___closed__9);
l_Lean_Linter_MissingDocs_lintDeclHead___closed__10 = _init_l_Lean_Linter_MissingDocs_lintDeclHead___closed__10();
lean_mark_persistent(l_Lean_Linter_MissingDocs_lintDeclHead___closed__10);
l_Lean_Linter_MissingDocs_lintDeclHead___closed__11 = _init_l_Lean_Linter_MissingDocs_lintDeclHead___closed__11();
lean_mark_persistent(l_Lean_Linter_MissingDocs_lintDeclHead___closed__11);
l_Lean_Linter_MissingDocs_lintDeclHead___closed__12 = _init_l_Lean_Linter_MissingDocs_lintDeclHead___closed__12();
lean_mark_persistent(l_Lean_Linter_MissingDocs_lintDeclHead___closed__12);
l_Lean_Linter_MissingDocs_lintDeclHead___closed__13 = _init_l_Lean_Linter_MissingDocs_lintDeclHead___closed__13();
lean_mark_persistent(l_Lean_Linter_MissingDocs_lintDeclHead___closed__13);
l_Lean_Linter_MissingDocs_lintDeclHead___closed__14 = _init_l_Lean_Linter_MissingDocs_lintDeclHead___closed__14();
lean_mark_persistent(l_Lean_Linter_MissingDocs_lintDeclHead___closed__14);
l_Lean_Linter_MissingDocs_lintDeclHead___closed__15 = _init_l_Lean_Linter_MissingDocs_lintDeclHead___closed__15();
lean_mark_persistent(l_Lean_Linter_MissingDocs_lintDeclHead___closed__15);
l_Lean_Linter_MissingDocs_lintDeclHead___closed__16 = _init_l_Lean_Linter_MissingDocs_lintDeclHead___closed__16();
lean_mark_persistent(l_Lean_Linter_MissingDocs_lintDeclHead___closed__16);
l_Lean_Linter_MissingDocs_lintDeclHead___closed__17 = _init_l_Lean_Linter_MissingDocs_lintDeclHead___closed__17();
lean_mark_persistent(l_Lean_Linter_MissingDocs_lintDeclHead___closed__17);
l_Lean_Linter_MissingDocs_lintDeclHead___closed__18 = _init_l_Lean_Linter_MissingDocs_lintDeclHead___closed__18();
lean_mark_persistent(l_Lean_Linter_MissingDocs_lintDeclHead___closed__18);
l_Lean_Linter_MissingDocs_lintDeclHead___closed__19 = _init_l_Lean_Linter_MissingDocs_lintDeclHead___closed__19();
lean_mark_persistent(l_Lean_Linter_MissingDocs_lintDeclHead___closed__19);
l_Lean_Linter_MissingDocs_lintDeclHead___closed__20 = _init_l_Lean_Linter_MissingDocs_lintDeclHead___closed__20();
lean_mark_persistent(l_Lean_Linter_MissingDocs_lintDeclHead___closed__20);
l_Array_forInUnsafe_loop___at_Lean_Linter_MissingDocs_checkDecl___spec__1___closed__1 = _init_l_Array_forInUnsafe_loop___at_Lean_Linter_MissingDocs_checkDecl___spec__1___closed__1();
lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Linter_MissingDocs_checkDecl___spec__1___closed__1);
l_Array_forInUnsafe_loop___at_Lean_Linter_MissingDocs_checkDecl___spec__2___closed__1 = _init_l_Array_forInUnsafe_loop___at_Lean_Linter_MissingDocs_checkDecl___spec__2___closed__1();
lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Linter_MissingDocs_checkDecl___spec__2___closed__1);
l_Array_foldlMUnsafe_fold___at_Lean_Linter_MissingDocs_checkDecl___spec__15___closed__1 = _init_l_Array_foldlMUnsafe_fold___at_Lean_Linter_MissingDocs_checkDecl___spec__15___closed__1();
lean_mark_persistent(l_Array_foldlMUnsafe_fold___at_Lean_Linter_MissingDocs_checkDecl___spec__15___closed__1);
l___private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlFromMAux___at_Lean_Linter_MissingDocs_checkDecl___spec__12___closed__1 = _init_l___private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlFromMAux___at_Lean_Linter_MissingDocs_checkDecl___spec__12___closed__1();
lean_mark_persistent(l___private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlFromMAux___at_Lean_Linter_MissingDocs_checkDecl___spec__12___closed__1);
l_Array_forInUnsafe_loop___at_Lean_Linter_MissingDocs_checkDecl___spec__17___lambda__1___closed__1 = _init_l_Array_forInUnsafe_loop___at_Lean_Linter_MissingDocs_checkDecl___spec__17___lambda__1___closed__1();
lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Linter_MissingDocs_checkDecl___spec__17___lambda__1___closed__1);
l_Array_forInUnsafe_loop___at_Lean_Linter_MissingDocs_checkDecl___spec__18___closed__1 = _init_l_Array_forInUnsafe_loop___at_Lean_Linter_MissingDocs_checkDecl___spec__18___closed__1();
lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Linter_MissingDocs_checkDecl___spec__18___closed__1);
l_Array_forInUnsafe_loop___at_Lean_Linter_MissingDocs_checkDecl___spec__18___closed__2 = _init_l_Array_forInUnsafe_loop___at_Lean_Linter_MissingDocs_checkDecl___spec__18___closed__2();
lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Linter_MissingDocs_checkDecl___spec__18___closed__2);
l_Array_forInUnsafe_loop___at_Lean_Linter_MissingDocs_checkDecl___spec__18___closed__3 = _init_l_Array_forInUnsafe_loop___at_Lean_Linter_MissingDocs_checkDecl___spec__18___closed__3();
lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Linter_MissingDocs_checkDecl___spec__18___closed__3);
l_Lean_Linter_MissingDocs_checkDecl___lambda__1___closed__1 = _init_l_Lean_Linter_MissingDocs_checkDecl___lambda__1___closed__1();
lean_mark_persistent(l_Lean_Linter_MissingDocs_checkDecl___lambda__1___closed__1);
l_Lean_Linter_MissingDocs_checkDecl___lambda__1___closed__2 = _init_l_Lean_Linter_MissingDocs_checkDecl___lambda__1___closed__2();
lean_mark_persistent(l_Lean_Linter_MissingDocs_checkDecl___lambda__1___closed__2);
l___regBuiltin_Lean_Linter_MissingDocs_checkDecl__1___closed__1 = _init_l___regBuiltin_Lean_Linter_MissingDocs_checkDecl__1___closed__1();
lean_mark_persistent(l___regBuiltin_Lean_Linter_MissingDocs_checkDecl__1___closed__1);
l___regBuiltin_Lean_Linter_MissingDocs_checkDecl__1___closed__2 = _init_l___regBuiltin_Lean_Linter_MissingDocs_checkDecl__1___closed__2();
lean_mark_persistent(l___regBuiltin_Lean_Linter_MissingDocs_checkDecl__1___closed__2);
l___regBuiltin_Lean_Linter_MissingDocs_checkDecl__1___closed__3 = _init_l___regBuiltin_Lean_Linter_MissingDocs_checkDecl__1___closed__3();
lean_mark_persistent(l___regBuiltin_Lean_Linter_MissingDocs_checkDecl__1___closed__3);
l___regBuiltin_Lean_Linter_MissingDocs_checkDecl__1___closed__4 = _init_l___regBuiltin_Lean_Linter_MissingDocs_checkDecl__1___closed__4();
lean_mark_persistent(l___regBuiltin_Lean_Linter_MissingDocs_checkDecl__1___closed__4);
if (builtin) {res = l___regBuiltin_Lean_Linter_MissingDocs_checkDecl__1(lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
}l_Lean_Linter_MissingDocs_checkInit___closed__1 = _init_l_Lean_Linter_MissingDocs_checkInit___closed__1();
lean_mark_persistent(l_Lean_Linter_MissingDocs_checkInit___closed__1);
l___regBuiltin_Lean_Linter_MissingDocs_checkInit__1___closed__1 = _init_l___regBuiltin_Lean_Linter_MissingDocs_checkInit__1___closed__1();
lean_mark_persistent(l___regBuiltin_Lean_Linter_MissingDocs_checkInit__1___closed__1);
l___regBuiltin_Lean_Linter_MissingDocs_checkInit__1___closed__2 = _init_l___regBuiltin_Lean_Linter_MissingDocs_checkInit__1___closed__2();
lean_mark_persistent(l___regBuiltin_Lean_Linter_MissingDocs_checkInit__1___closed__2);
l___regBuiltin_Lean_Linter_MissingDocs_checkInit__1___closed__3 = _init_l___regBuiltin_Lean_Linter_MissingDocs_checkInit__1___closed__3();
lean_mark_persistent(l___regBuiltin_Lean_Linter_MissingDocs_checkInit__1___closed__3);
l___regBuiltin_Lean_Linter_MissingDocs_checkInit__1___closed__4 = _init_l___regBuiltin_Lean_Linter_MissingDocs_checkInit__1___closed__4();
lean_mark_persistent(l___regBuiltin_Lean_Linter_MissingDocs_checkInit__1___closed__4);
if (builtin) {res = l___regBuiltin_Lean_Linter_MissingDocs_checkInit__1(lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
}l_Lean_Linter_MissingDocs_checkNotation___closed__1 = _init_l_Lean_Linter_MissingDocs_checkNotation___closed__1();
lean_mark_persistent(l_Lean_Linter_MissingDocs_checkNotation___closed__1);
l_Lean_Linter_MissingDocs_checkNotation___closed__2 = _init_l_Lean_Linter_MissingDocs_checkNotation___closed__2();
lean_mark_persistent(l_Lean_Linter_MissingDocs_checkNotation___closed__2);
l_Lean_Linter_MissingDocs_checkNotation___closed__3 = _init_l_Lean_Linter_MissingDocs_checkNotation___closed__3();
lean_mark_persistent(l_Lean_Linter_MissingDocs_checkNotation___closed__3);
l_Lean_Linter_MissingDocs_checkNotation___closed__4 = _init_l_Lean_Linter_MissingDocs_checkNotation___closed__4();
lean_mark_persistent(l_Lean_Linter_MissingDocs_checkNotation___closed__4);
l___regBuiltin_Lean_Linter_MissingDocs_checkNotation__1___closed__1 = _init_l___regBuiltin_Lean_Linter_MissingDocs_checkNotation__1___closed__1();
lean_mark_persistent(l___regBuiltin_Lean_Linter_MissingDocs_checkNotation__1___closed__1);
l___regBuiltin_Lean_Linter_MissingDocs_checkNotation__1___closed__2 = _init_l___regBuiltin_Lean_Linter_MissingDocs_checkNotation__1___closed__2();
lean_mark_persistent(l___regBuiltin_Lean_Linter_MissingDocs_checkNotation__1___closed__2);
l___regBuiltin_Lean_Linter_MissingDocs_checkNotation__1___closed__3 = _init_l___regBuiltin_Lean_Linter_MissingDocs_checkNotation__1___closed__3();
lean_mark_persistent(l___regBuiltin_Lean_Linter_MissingDocs_checkNotation__1___closed__3);
if (builtin) {res = l___regBuiltin_Lean_Linter_MissingDocs_checkNotation__1(lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
}l___regBuiltin_Lean_Linter_MissingDocs_checkMixfix__1___closed__1 = _init_l___regBuiltin_Lean_Linter_MissingDocs_checkMixfix__1___closed__1();
lean_mark_persistent(l___regBuiltin_Lean_Linter_MissingDocs_checkMixfix__1___closed__1);
l___regBuiltin_Lean_Linter_MissingDocs_checkMixfix__1___closed__2 = _init_l___regBuiltin_Lean_Linter_MissingDocs_checkMixfix__1___closed__2();
lean_mark_persistent(l___regBuiltin_Lean_Linter_MissingDocs_checkMixfix__1___closed__2);
l___regBuiltin_Lean_Linter_MissingDocs_checkMixfix__1___closed__3 = _init_l___regBuiltin_Lean_Linter_MissingDocs_checkMixfix__1___closed__3();
lean_mark_persistent(l___regBuiltin_Lean_Linter_MissingDocs_checkMixfix__1___closed__3);
l___regBuiltin_Lean_Linter_MissingDocs_checkMixfix__1___closed__4 = _init_l___regBuiltin_Lean_Linter_MissingDocs_checkMixfix__1___closed__4();
lean_mark_persistent(l___regBuiltin_Lean_Linter_MissingDocs_checkMixfix__1___closed__4);
if (builtin) {res = l___regBuiltin_Lean_Linter_MissingDocs_checkMixfix__1(lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
}l_Lean_Linter_MissingDocs_checkSyntax___closed__1 = _init_l_Lean_Linter_MissingDocs_checkSyntax___closed__1();
lean_mark_persistent(l_Lean_Linter_MissingDocs_checkSyntax___closed__1);
l___regBuiltin_Lean_Linter_MissingDocs_checkSyntax__1___closed__1 = _init_l___regBuiltin_Lean_Linter_MissingDocs_checkSyntax__1___closed__1();
lean_mark_persistent(l___regBuiltin_Lean_Linter_MissingDocs_checkSyntax__1___closed__1);
l___regBuiltin_Lean_Linter_MissingDocs_checkSyntax__1___closed__2 = _init_l___regBuiltin_Lean_Linter_MissingDocs_checkSyntax__1___closed__2();
lean_mark_persistent(l___regBuiltin_Lean_Linter_MissingDocs_checkSyntax__1___closed__2);
l___regBuiltin_Lean_Linter_MissingDocs_checkSyntax__1___closed__3 = _init_l___regBuiltin_Lean_Linter_MissingDocs_checkSyntax__1___closed__3();
lean_mark_persistent(l___regBuiltin_Lean_Linter_MissingDocs_checkSyntax__1___closed__3);
if (builtin) {res = l___regBuiltin_Lean_Linter_MissingDocs_checkSyntax__1(lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
}l___regBuiltin_Lean_Linter_MissingDocs_checkSyntaxAbbrev__1___closed__1 = _init_l___regBuiltin_Lean_Linter_MissingDocs_checkSyntaxAbbrev__1___closed__1();
lean_mark_persistent(l___regBuiltin_Lean_Linter_MissingDocs_checkSyntaxAbbrev__1___closed__1);
l___regBuiltin_Lean_Linter_MissingDocs_checkSyntaxAbbrev__1___closed__2 = _init_l___regBuiltin_Lean_Linter_MissingDocs_checkSyntaxAbbrev__1___closed__2();
lean_mark_persistent(l___regBuiltin_Lean_Linter_MissingDocs_checkSyntaxAbbrev__1___closed__2);
l___regBuiltin_Lean_Linter_MissingDocs_checkSyntaxAbbrev__1___closed__3 = _init_l___regBuiltin_Lean_Linter_MissingDocs_checkSyntaxAbbrev__1___closed__3();
lean_mark_persistent(l___regBuiltin_Lean_Linter_MissingDocs_checkSyntaxAbbrev__1___closed__3);
l___regBuiltin_Lean_Linter_MissingDocs_checkSyntaxAbbrev__1___closed__4 = _init_l___regBuiltin_Lean_Linter_MissingDocs_checkSyntaxAbbrev__1___closed__4();
lean_mark_persistent(l___regBuiltin_Lean_Linter_MissingDocs_checkSyntaxAbbrev__1___closed__4);
if (builtin) {res = l___regBuiltin_Lean_Linter_MissingDocs_checkSyntaxAbbrev__1(lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
}l_Lean_Linter_MissingDocs_checkSyntaxCat___closed__1 = _init_l_Lean_Linter_MissingDocs_checkSyntaxCat___closed__1();
lean_mark_persistent(l_Lean_Linter_MissingDocs_checkSyntaxCat___closed__1);
l___regBuiltin_Lean_Linter_MissingDocs_checkSyntaxCat__1___closed__1 = _init_l___regBuiltin_Lean_Linter_MissingDocs_checkSyntaxCat__1___closed__1();
lean_mark_persistent(l___regBuiltin_Lean_Linter_MissingDocs_checkSyntaxCat__1___closed__1);
l___regBuiltin_Lean_Linter_MissingDocs_checkSyntaxCat__1___closed__2 = _init_l___regBuiltin_Lean_Linter_MissingDocs_checkSyntaxCat__1___closed__2();
lean_mark_persistent(l___regBuiltin_Lean_Linter_MissingDocs_checkSyntaxCat__1___closed__2);
l___regBuiltin_Lean_Linter_MissingDocs_checkSyntaxCat__1___closed__3 = _init_l___regBuiltin_Lean_Linter_MissingDocs_checkSyntaxCat__1___closed__3();
lean_mark_persistent(l___regBuiltin_Lean_Linter_MissingDocs_checkSyntaxCat__1___closed__3);
l___regBuiltin_Lean_Linter_MissingDocs_checkSyntaxCat__1___closed__4 = _init_l___regBuiltin_Lean_Linter_MissingDocs_checkSyntaxCat__1___closed__4();
lean_mark_persistent(l___regBuiltin_Lean_Linter_MissingDocs_checkSyntaxCat__1___closed__4);
if (builtin) {res = l___regBuiltin_Lean_Linter_MissingDocs_checkSyntaxCat__1(lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
}l_Lean_Linter_MissingDocs_checkMacro___closed__1 = _init_l_Lean_Linter_MissingDocs_checkMacro___closed__1();
lean_mark_persistent(l_Lean_Linter_MissingDocs_checkMacro___closed__1);
l___regBuiltin_Lean_Linter_MissingDocs_checkMacro__1___closed__1 = _init_l___regBuiltin_Lean_Linter_MissingDocs_checkMacro__1___closed__1();
lean_mark_persistent(l___regBuiltin_Lean_Linter_MissingDocs_checkMacro__1___closed__1);
l___regBuiltin_Lean_Linter_MissingDocs_checkMacro__1___closed__2 = _init_l___regBuiltin_Lean_Linter_MissingDocs_checkMacro__1___closed__2();
lean_mark_persistent(l___regBuiltin_Lean_Linter_MissingDocs_checkMacro__1___closed__2);
l___regBuiltin_Lean_Linter_MissingDocs_checkMacro__1___closed__3 = _init_l___regBuiltin_Lean_Linter_MissingDocs_checkMacro__1___closed__3();
lean_mark_persistent(l___regBuiltin_Lean_Linter_MissingDocs_checkMacro__1___closed__3);
if (builtin) {res = l___regBuiltin_Lean_Linter_MissingDocs_checkMacro__1(lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
}l_Lean_Linter_MissingDocs_checkElab___closed__1 = _init_l_Lean_Linter_MissingDocs_checkElab___closed__1();
lean_mark_persistent(l_Lean_Linter_MissingDocs_checkElab___closed__1);
l___regBuiltin_Lean_Linter_MissingDocs_checkElab__1___closed__1 = _init_l___regBuiltin_Lean_Linter_MissingDocs_checkElab__1___closed__1();
lean_mark_persistent(l___regBuiltin_Lean_Linter_MissingDocs_checkElab__1___closed__1);
l___regBuiltin_Lean_Linter_MissingDocs_checkElab__1___closed__2 = _init_l___regBuiltin_Lean_Linter_MissingDocs_checkElab__1___closed__2();
lean_mark_persistent(l___regBuiltin_Lean_Linter_MissingDocs_checkElab__1___closed__2);
l___regBuiltin_Lean_Linter_MissingDocs_checkElab__1___closed__3 = _init_l___regBuiltin_Lean_Linter_MissingDocs_checkElab__1___closed__3();
lean_mark_persistent(l___regBuiltin_Lean_Linter_MissingDocs_checkElab__1___closed__3);
if (builtin) {res = l___regBuiltin_Lean_Linter_MissingDocs_checkElab__1(lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
}l_Lean_Linter_MissingDocs_checkClassAbbrev___closed__1 = _init_l_Lean_Linter_MissingDocs_checkClassAbbrev___closed__1();
lean_mark_persistent(l_Lean_Linter_MissingDocs_checkClassAbbrev___closed__1);
l___regBuiltin_Lean_Linter_MissingDocs_checkClassAbbrev__1___closed__1 = _init_l___regBuiltin_Lean_Linter_MissingDocs_checkClassAbbrev__1___closed__1();
lean_mark_persistent(l___regBuiltin_Lean_Linter_MissingDocs_checkClassAbbrev__1___closed__1);
l___regBuiltin_Lean_Linter_MissingDocs_checkClassAbbrev__1___closed__2 = _init_l___regBuiltin_Lean_Linter_MissingDocs_checkClassAbbrev__1___closed__2();
lean_mark_persistent(l___regBuiltin_Lean_Linter_MissingDocs_checkClassAbbrev__1___closed__2);
l___regBuiltin_Lean_Linter_MissingDocs_checkClassAbbrev__1___closed__3 = _init_l___regBuiltin_Lean_Linter_MissingDocs_checkClassAbbrev__1___closed__3();
lean_mark_persistent(l___regBuiltin_Lean_Linter_MissingDocs_checkClassAbbrev__1___closed__3);
l___regBuiltin_Lean_Linter_MissingDocs_checkClassAbbrev__1___closed__4 = _init_l___regBuiltin_Lean_Linter_MissingDocs_checkClassAbbrev__1___closed__4();
lean_mark_persistent(l___regBuiltin_Lean_Linter_MissingDocs_checkClassAbbrev__1___closed__4);
if (builtin) {res = l___regBuiltin_Lean_Linter_MissingDocs_checkClassAbbrev__1(lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
}l_Lean_Linter_MissingDocs_checkSimpLike___closed__1 = _init_l_Lean_Linter_MissingDocs_checkSimpLike___closed__1();
lean_mark_persistent(l_Lean_Linter_MissingDocs_checkSimpLike___closed__1);
l___regBuiltin_Lean_Linter_MissingDocs_checkSimpLike__1___closed__1 = _init_l___regBuiltin_Lean_Linter_MissingDocs_checkSimpLike__1___closed__1();
lean_mark_persistent(l___regBuiltin_Lean_Linter_MissingDocs_checkSimpLike__1___closed__1);
l___regBuiltin_Lean_Linter_MissingDocs_checkSimpLike__1___closed__2 = _init_l___regBuiltin_Lean_Linter_MissingDocs_checkSimpLike__1___closed__2();
lean_mark_persistent(l___regBuiltin_Lean_Linter_MissingDocs_checkSimpLike__1___closed__2);
l___regBuiltin_Lean_Linter_MissingDocs_checkSimpLike__1___closed__3 = _init_l___regBuiltin_Lean_Linter_MissingDocs_checkSimpLike__1___closed__3();
lean_mark_persistent(l___regBuiltin_Lean_Linter_MissingDocs_checkSimpLike__1___closed__3);
l___regBuiltin_Lean_Linter_MissingDocs_checkSimpLike__1___closed__4 = _init_l___regBuiltin_Lean_Linter_MissingDocs_checkSimpLike__1___closed__4();
lean_mark_persistent(l___regBuiltin_Lean_Linter_MissingDocs_checkSimpLike__1___closed__4);
l___regBuiltin_Lean_Linter_MissingDocs_checkSimpLike__1___closed__5 = _init_l___regBuiltin_Lean_Linter_MissingDocs_checkSimpLike__1___closed__5();
lean_mark_persistent(l___regBuiltin_Lean_Linter_MissingDocs_checkSimpLike__1___closed__5);
if (builtin) {res = l___regBuiltin_Lean_Linter_MissingDocs_checkSimpLike__1(lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
}l_Lean_Linter_MissingDocs_checkRegisterBuiltinOption___closed__1 = _init_l_Lean_Linter_MissingDocs_checkRegisterBuiltinOption___closed__1();
lean_mark_persistent(l_Lean_Linter_MissingDocs_checkRegisterBuiltinOption___closed__1);
l___regBuiltin_Lean_Linter_MissingDocs_checkRegisterBuiltinOption__1___closed__1 = _init_l___regBuiltin_Lean_Linter_MissingDocs_checkRegisterBuiltinOption__1___closed__1();
lean_mark_persistent(l___regBuiltin_Lean_Linter_MissingDocs_checkRegisterBuiltinOption__1___closed__1);
l___regBuiltin_Lean_Linter_MissingDocs_checkRegisterBuiltinOption__1___closed__2 = _init_l___regBuiltin_Lean_Linter_MissingDocs_checkRegisterBuiltinOption__1___closed__2();
lean_mark_persistent(l___regBuiltin_Lean_Linter_MissingDocs_checkRegisterBuiltinOption__1___closed__2);
l___regBuiltin_Lean_Linter_MissingDocs_checkRegisterBuiltinOption__1___closed__3 = _init_l___regBuiltin_Lean_Linter_MissingDocs_checkRegisterBuiltinOption__1___closed__3();
lean_mark_persistent(l___regBuiltin_Lean_Linter_MissingDocs_checkRegisterBuiltinOption__1___closed__3);
l___regBuiltin_Lean_Linter_MissingDocs_checkRegisterBuiltinOption__1___closed__4 = _init_l___regBuiltin_Lean_Linter_MissingDocs_checkRegisterBuiltinOption__1___closed__4();
lean_mark_persistent(l___regBuiltin_Lean_Linter_MissingDocs_checkRegisterBuiltinOption__1___closed__4);
l___regBuiltin_Lean_Linter_MissingDocs_checkRegisterBuiltinOption__1___closed__5 = _init_l___regBuiltin_Lean_Linter_MissingDocs_checkRegisterBuiltinOption__1___closed__5();
lean_mark_persistent(l___regBuiltin_Lean_Linter_MissingDocs_checkRegisterBuiltinOption__1___closed__5);
if (builtin) {res = l___regBuiltin_Lean_Linter_MissingDocs_checkRegisterBuiltinOption__1(lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
}l___regBuiltin_Lean_Linter_MissingDocs_checkRegisterOption__1___closed__1 = _init_l___regBuiltin_Lean_Linter_MissingDocs_checkRegisterOption__1___closed__1();
lean_mark_persistent(l___regBuiltin_Lean_Linter_MissingDocs_checkRegisterOption__1___closed__1);
l___regBuiltin_Lean_Linter_MissingDocs_checkRegisterOption__1___closed__2 = _init_l___regBuiltin_Lean_Linter_MissingDocs_checkRegisterOption__1___closed__2();
lean_mark_persistent(l___regBuiltin_Lean_Linter_MissingDocs_checkRegisterOption__1___closed__2);
l___regBuiltin_Lean_Linter_MissingDocs_checkRegisterOption__1___closed__3 = _init_l___regBuiltin_Lean_Linter_MissingDocs_checkRegisterOption__1___closed__3();
lean_mark_persistent(l___regBuiltin_Lean_Linter_MissingDocs_checkRegisterOption__1___closed__3);
l___regBuiltin_Lean_Linter_MissingDocs_checkRegisterOption__1___closed__4 = _init_l___regBuiltin_Lean_Linter_MissingDocs_checkRegisterOption__1___closed__4();
lean_mark_persistent(l___regBuiltin_Lean_Linter_MissingDocs_checkRegisterOption__1___closed__4);
if (builtin) {res = l___regBuiltin_Lean_Linter_MissingDocs_checkRegisterOption__1(lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
}l_Lean_Linter_MissingDocs_checkRegisterSimpAttr___closed__1 = _init_l_Lean_Linter_MissingDocs_checkRegisterSimpAttr___closed__1();
lean_mark_persistent(l_Lean_Linter_MissingDocs_checkRegisterSimpAttr___closed__1);
l___regBuiltin_Lean_Linter_MissingDocs_checkRegisterSimpAttr__1___closed__1 = _init_l___regBuiltin_Lean_Linter_MissingDocs_checkRegisterSimpAttr__1___closed__1();
lean_mark_persistent(l___regBuiltin_Lean_Linter_MissingDocs_checkRegisterSimpAttr__1___closed__1);
l___regBuiltin_Lean_Linter_MissingDocs_checkRegisterSimpAttr__1___closed__2 = _init_l___regBuiltin_Lean_Linter_MissingDocs_checkRegisterSimpAttr__1___closed__2();
lean_mark_persistent(l___regBuiltin_Lean_Linter_MissingDocs_checkRegisterSimpAttr__1___closed__2);
l___regBuiltin_Lean_Linter_MissingDocs_checkRegisterSimpAttr__1___closed__3 = _init_l___regBuiltin_Lean_Linter_MissingDocs_checkRegisterSimpAttr__1___closed__3();
lean_mark_persistent(l___regBuiltin_Lean_Linter_MissingDocs_checkRegisterSimpAttr__1___closed__3);
l___regBuiltin_Lean_Linter_MissingDocs_checkRegisterSimpAttr__1___closed__4 = _init_l___regBuiltin_Lean_Linter_MissingDocs_checkRegisterSimpAttr__1___closed__4();
lean_mark_persistent(l___regBuiltin_Lean_Linter_MissingDocs_checkRegisterSimpAttr__1___closed__4);
if (builtin) {res = l___regBuiltin_Lean_Linter_MissingDocs_checkRegisterSimpAttr__1(lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
}l_Lean_Linter_MissingDocs_handleIn___rarg___closed__1 = _init_l_Lean_Linter_MissingDocs_handleIn___rarg___closed__1();
lean_mark_persistent(l_Lean_Linter_MissingDocs_handleIn___rarg___closed__1);
l_Lean_Linter_MissingDocs_handleIn___rarg___closed__2 = _init_l_Lean_Linter_MissingDocs_handleIn___rarg___closed__2();
lean_mark_persistent(l_Lean_Linter_MissingDocs_handleIn___rarg___closed__2);
l___regBuiltin_Lean_Linter_MissingDocs_handleIn__1___closed__1 = _init_l___regBuiltin_Lean_Linter_MissingDocs_handleIn__1___closed__1();
lean_mark_persistent(l___regBuiltin_Lean_Linter_MissingDocs_handleIn__1___closed__1);
l___regBuiltin_Lean_Linter_MissingDocs_handleIn__1___closed__2 = _init_l___regBuiltin_Lean_Linter_MissingDocs_handleIn__1___closed__2();
lean_mark_persistent(l___regBuiltin_Lean_Linter_MissingDocs_handleIn__1___closed__2);
l___regBuiltin_Lean_Linter_MissingDocs_handleIn__1___closed__3 = _init_l___regBuiltin_Lean_Linter_MissingDocs_handleIn__1___closed__3();
lean_mark_persistent(l___regBuiltin_Lean_Linter_MissingDocs_handleIn__1___closed__3);
if (builtin) {res = l___regBuiltin_Lean_Linter_MissingDocs_handleIn__1(lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
}l___regBuiltin_Lean_Linter_MissingDocs_handleMutual__1___closed__1 = _init_l___regBuiltin_Lean_Linter_MissingDocs_handleMutual__1___closed__1();
lean_mark_persistent(l___regBuiltin_Lean_Linter_MissingDocs_handleMutual__1___closed__1);
l___regBuiltin_Lean_Linter_MissingDocs_handleMutual__1___closed__2 = _init_l___regBuiltin_Lean_Linter_MissingDocs_handleMutual__1___closed__2();
lean_mark_persistent(l___regBuiltin_Lean_Linter_MissingDocs_handleMutual__1___closed__2);
l___regBuiltin_Lean_Linter_MissingDocs_handleMutual__1___closed__3 = _init_l___regBuiltin_Lean_Linter_MissingDocs_handleMutual__1___closed__3();
lean_mark_persistent(l___regBuiltin_Lean_Linter_MissingDocs_handleMutual__1___closed__3);
if (builtin) {res = l___regBuiltin_Lean_Linter_MissingDocs_handleMutual__1(lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
}return lean_io_result_mk_ok(lean_box(0));
}
#ifdef __cplusplus
}
#endif
